Commit ca8419b7 authored by Romain Courteaud's avatar Romain Courteaud Committed by Sebastien Robin

Invert details

parent 2bfe175c
......@@ -72,10 +72,10 @@ bt5_list = portal.portal_templates.resolveBusinessTemplateListDependency(bt5.spl
severity = len(bt5_list)\n
if severity == 0:\n
summary = "Nothing to do."\n
detail = "Needed to install %s" % \', \'.join([x[1] for x in bt5_list])\n
detail = ""\n
else:\n
summary = "Upgrade needed"\n
detail = ""\n
detail = "Needed to install %s" % \', \'.join([x[1] for x in bt5_list])\n
active_result.edit(\n
summary=summary, \n
severity=severity,\n
......
2
\ No newline at end of file
3
\ No newline at end of file
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