vregistry.py
changeset 3376 f5c69485381f
parent 3072 6fb42c53f6df
child 3383 c6aff16e5aed
--- a/vregistry.py	Wed Sep 23 08:17:52 2009 +0200
+++ b/vregistry.py	Wed Sep 23 08:42:52 2009 +0200
@@ -61,11 +61,11 @@
 def class_regid(cls):
     """returns a unique identifier for an appobject class"""
     if 'id' in cls.__dict__:
-        warn('%s: id is deprecated, use __id__')
-        cls.__id__ = cls.id
+        warn('%s: id is deprecated, use __regid__')
+        cls.__regid__ = cls.id
     if hasattr(cls, 'id'):
         return cls.id
-    return cls.__id__
+    return cls.__regid__
 
 
 class Registry(dict):