[Checkins]
SVN: Products.GenericSetup/trunk/Products/GenericSetup/tool.py
- made sure global export handlers are found by _doRunExportSteps
Yvo Schubbe
y.2007- at wcm-solutions.de
Wed Dec 5 13:52:22 EST 2007
Log message for revision 82144:
- made sure global export handlers are found by _doRunExportSteps
- fixed security declarations
Changed:
U Products.GenericSetup/trunk/Products/GenericSetup/tool.py
-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/tool.py
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/tool.py 2007-12-05 18:35:12 UTC (rev 82143)
+++ Products.GenericSetup/trunk/Products/GenericSetup/tool.py 2007-12-05 18:52:21 UTC (rev 82144)
@@ -288,7 +288,7 @@
self._import_registry._registered.values()
return _computeTopologicalSort(steps)
- security.declareProtected(ManagePortal, 'getImportStep')
+ security.declareProtected(ManagePortal, 'getImportStepMetadata')
def getImportStepMetadata(self, step, default=None):
"""Simple wrapper to query both the global and local step registry."""
res=_import_step_registry.getStepMetadata(step, default)
@@ -296,7 +296,7 @@
return res
return self._import_registry.getStepMetadata(step, default)
- security.declareProtected(ManagePortal, 'getExportStep')
+ security.declareProtected(ManagePortal, 'getExportStepMetadata')
def getExportStepMetadata(self, step, default=None):
"""Simple wrapper to query both the global and local step registry."""
res=_export_step_registry.getStepMetadata(step, default)
@@ -1067,7 +1067,7 @@
for step_id in steps:
- handler = self._export_registry.getStep(step_id, marker)
+ handler = self.getExportStep(step_id, marker)
if handler is marker:
raise ValueError('Invalid export step: %s' % step_id)
More information about the Checkins
mailing list