vregistry.py
branchstable
changeset 2173 7fae9300b9f9
parent 2078 362703bff3d4
child 2181 94ca417b9b07
child 2308 b478c3a8ad2a
--- a/vregistry.py	Fri Jun 19 20:38:32 2009 +0200
+++ b/vregistry.py	Thu Jun 25 20:18:16 2009 +0200
@@ -245,6 +245,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__