branch | stable |
changeset 2836 | b94b9c48111f |
parent 2760 | 30063071aee0 |
child 2838 | 107421e426de |
child 2906 | 677fa98659a8 |
--- a/vregistry.py Wed Aug 12 13:30:45 2009 +0200 +++ b/vregistry.py Thu Aug 13 13:12:55 2009 +0200 @@ -298,7 +298,7 @@ except AttributeError: vname = obj.__class__.__name__ self.debug('registered appobject %s in registry %s with id %s', - vname, registryname, oid) + vname, registryname, oid or obj.id) self._loadedmods[obj.__module__]['%s.%s' % (obj.__module__, oid)] = obj def unregister(self, obj, registryname=None):