Commit 5918aad0 authored by Vincent Pelletier's avatar Vincent Pelletier

Add missing parenthesis.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19249 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 09c479db
......@@ -4,7 +4,7 @@ from zLOG import LOG, INFO
if getattr(TypeInformation, 'manage_main', None) is not None:
LOG('ERP5Type/patches/CMFCoreTypesTool.py', INFO, 'This patch is no longer needed. Skipping.')
elif None in (getattr(TypeInformation, 'manage_propertiesForm__roles__', None),
getattr(TypeInformation, 'manage_propertiesForm', None):
getattr(TypeInformation, 'manage_propertiesForm', None)):
LOG('ERP5Type/patches/CMFCoreTypesTool.py', INFO, 'manage_propertiesForm not found. Skipping.')
else:
TypeInformation.manage_main__roles__ = TypeInformation.manage_propertiesForm__roles__
......
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