diff -r 51c84d585456 -r 94ca417b9b07 vregistry.py --- 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__