--- 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__