vregistry.py
changeset 2181 94ca417b9b07
parent 2144 51c84d585456
parent 2173 7fae9300b9f9
child 2302 e0393451e9a5
--- a/vregistry.py	Tue Jun 23 13:36:38 2009 +0200
+++ b/vregistry.py	Sat Jun 27 00:56:30 2009 +0200
@@ -312,6 +312,9 @@
                          removed_id, obj.id, registryname)
 
     def register_and_replace(self, obj, replaced, registryname=None):
+        # XXXFIXME this is a duplication of unregister()
+        # remove register_and_replace in favor of unregister + register
+        # or simplify by calling unregister then register here
         if hasattr(replaced, 'classid'):
             replaced = replaced.classid()
         registryname = registryname or obj.__registry__