[Checkins]
SVN: Products.GenericSetup/trunk/Products/GenericSetup/tool.py
Add missing getExportStepMetadata
Wichert Akkerman
wichert at wiggy.net
Mon Dec 3 14:00:53 EST 2007
Log message for revision 82108:
Add missing getExportStepMetadata
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-03 18:56:59 UTC (rev 82107)
+++ Products.GenericSetup/trunk/Products/GenericSetup/tool.py 2007-12-03 19:00:52 UTC (rev 82108)
@@ -296,6 +296,13 @@
return res
return self._import_registry.getStepMetadata(step, default)
+ security.declareProtected(ManagePortal, 'getExportStep')
+ def getExportStepMetadata(self, step, default=None):
+ """Simple wrapper to query both the global and local step registry."""
+ res=_export_step_registry.getStepMetadata(step, default)
+ if res is not default:
+ return res
+ return self._export_registry.getStepMetadata(step, default)
security.declareProtected(ManagePortal, 'getToolsetRegistry')
def getToolsetRegistry(self):
More information about the Checkins
mailing list