[CMF-checkins] CVS: CMF/CMFSetup - typeinfo.py:1.20
Yvo Schubbe
y.2005- at wcm-solutions.de
Thu Mar 10 09:46:30 EST 2005
Update of /cvs-repository/CMF/CMFSetup
In directory cvs.zope.org:/tmp/cvs-serv3543/CMFSetup
Modified Files:
typeinfo.py
Log Message:
if not in purge mode, allow to replace specific types
=== CMF/CMFSetup/typeinfo.py 1.19 => 1.20 ===
--- CMF/CMFSetup/typeinfo.py:1.19 Mon Jan 17 05:40:39 2005
+++ CMF/CMFSetup/typeinfo.py Thu Mar 10 09:46:29 2005
@@ -74,6 +74,9 @@
else:
raise ValueError('unknown kind \'%s\'' % info['kind'])
+ if info['id'] in types_tool.objectIds():
+ types_tool._delObject(info['id'])
+
types_tool._setObject( str( info[ 'id' ] ), type_info )
More information about the CMF-checkins
mailing list