Commit 71677792 authored by Sebastien Robin's avatar Sebastien Robin

upgrader: when checking consistency, we should return list of message, not list of lists

this generated errors when looking at alarm results
parent 2a504e2e
......@@ -56,11 +56,7 @@ If `fixit` is True, then it will create/drop table or alter existing tables\n
"""\n
portal = context.getPortalObject()\n
show_source = not(fixit)\n
sql_src = portal.portal_catalog.upgradeSchema(src__=show_source)\n
result = []\n
if sql_src:\n
result.append(sql_src)\n
return result\n
return portal.portal_catalog.upgradeSchema(src__=show_source)\n
</string> </value>
</item>
<item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment