Commit 0ca2eb8d authored by Rafael Monnerat's avatar Rafael Monnerat

Added missing key and fix typo.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42347 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 153c42fb
......@@ -63,9 +63,8 @@ alarm_dict = context.ERP5Site_getUpgraderSignature("alarm_dict")\n
if not alarm_dict.get(context.getId(), True):\n
return False\n
\n
finalize_upgrade_script_list = context.ERP5Site_getUpgraderSignature(\'finalize_upgrade_script_list\')\n
for script_id in finalize_upgrade_script_list:\n
if len(getattr(context, script_id)()) > O:\n
for script_id in context.ERP5Site_getUpgraderSignature(\'finalize_upgrade_script_list\'):\n
if len(getattr(context, script_id)()) > 0:\n
return True\n
\n
return False\n
......
......@@ -290,7 +290,7 @@ INTEGRITY_VERIFICATION_SCRIPT_ID_LIST = (\'ERP5Site_verifyUpgradeIntegrity\',\n
# be consider as After methods.\n
\n
FINALIZE_ALARM_SCRIPT = ( \'ERP5Site_upgradeGlobalPropertyList\',\n
\'ERP5Site_upgradeValidationStateList\',\n
\'ERP5Site_upgradeObjectList\',\n
\'ERP5Site_upgradeWorkflowChain\',\n
\'ERP5Site_upgradePortalTypePropertySheet\',\n
\'ERP5Site_upgradeSecurity\',\n
......@@ -363,6 +363,8 @@ signature_dict = {\n
, \'object_action_dict\': OBJECT_ACTION_DICT\n
# Provides a list of script ids that will be run after the upgrade to check the Instance Integrity\n
, \'integrity_verification_script_id_list\': INTEGRITY_VERIFICATION_SCRIPT_ID_LIST\n
# Provides a list of script ids that will be run during finalization step\n
, \'finalize_upgrade_script_list\': FINALIZE_ALARM_SCRIPT\n
# Provides a dict with expected catalog filter expressions\n
, \'catalog_filter_dict\': CATALOG_FILTER_DICT\n
# Provides a list of portal types to had rules updated.\n
......
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