[Checkins] SVN: Products.DCWorkflow/trunk/Products/DCWorkflow/exportimport.py - be more careful trying to extract the manager_bypass setting to
Jens Vagelpohl
jens at dataflake.org
Tue May 12 12:44:05 EDT 2009
Log message for revision 99881:
- be more careful trying to extract the manager_bypass setting to
make sure older export files remain supported.
Changed:
U Products.DCWorkflow/trunk/Products/DCWorkflow/exportimport.py
-=-
Modified: Products.DCWorkflow/trunk/Products/DCWorkflow/exportimport.py
===================================================================
--- Products.DCWorkflow/trunk/Products/DCWorkflow/exportimport.py 2009-05-12 16:31:57 UTC (rev 99880)
+++ Products.DCWorkflow/trunk/Products/DCWorkflow/exportimport.py 2009-05-12 16:44:05 UTC (rev 99881)
@@ -162,7 +162,7 @@
except ValueError:
# Don't fail on export files that do not have the description field!
description = ''
- manager_bypass = _getNodeAttributeBoolean(root, 'manager_bypass')
+ manager_bypass = _queryNodeAttributeBoolean(root,'manager_bypass',False)
creation_guard = _extractCreationGuard(root, encoding)
state_variable = _getNodeAttribute( root, 'state_variable', encoding )
initial_state = _getNodeAttribute( root, 'initial_state', encoding )
More information about the Checkins
mailing list