Commit 153c42fb authored by Rafael Monnerat's avatar Rafael Monnerat

The name of the signature item changed.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42346 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8f40a79f
......@@ -56,7 +56,7 @@
"""\n
from Products.ERP5Type.Log import log\n
portal_templates = context.portal_templates\n
validation_dict = context.ERP5Site_getUpgraderSignature(\'validation_dict\')\n
validation_dict = context.ERP5Site_getUpgraderSignature(\'object_action_dict\')\n
param_not_provided = "PARAM_NOT_PROVIDED"\n
\n
# get list of title of bt5 that are installed.\n
......@@ -84,7 +84,7 @@ for definition in upgradable_list:\n
if obj is not None:\n
method = getattr(obj, method_id, None)\n
if method is not None and method() == expected_state:\n
sub_message_list.append("Upgrade is required for Validation Workflow List (%s object is in %s state, action %s.)" %\n
sub_message_list.append("Upgrade is required for Object List (%s object is in %s state, action %s.)" %\n
(path, expected_state, action))\n
if int(upgrade) == 1:\n
action_method = getattr(obj, action , None)\n
......@@ -93,7 +93,7 @@ for definition in upgradable_list:\n
action_method()\n
else:\n
action_method(*param_list)\n
sub_message_list.append("updated")\n
sub_message_list.append("[UPDATED]")\n
message_list.append(\' \'.join(sub_message_list))\n
\n
return message_list\n
......
557
\ No newline at end of file
559
\ 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