[Checkins]
SVN: Products.GenericSetup/trunk/Products/GenericSetup/tool.py
use the tool instance we already created
Rob Miller
ra at burningman.com
Tue Mar 4 20:10:41 EST 2008
Log message for revision 84468:
use the tool instance we already created
Changed:
U Products.GenericSetup/trunk/Products/GenericSetup/tool.py
-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/tool.py
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/tool.py 2008-03-05 01:00:22 UTC (rev 84467)
+++ Products.GenericSetup/trunk/Products/GenericSetup/tool.py 2008-03-05 01:10:40 UTC (rev 84468)
@@ -140,7 +140,7 @@
unwrapped = aq_base(existing)
if not isinstance(unwrapped, tool_class):
site._delObject(tool_id)
- site._setObject(tool_id, tool_class())
+ site._setObject(tool_id, new_tool)
logger.info('Toolset imported.')
More information about the Checkins
mailing list