vregistry.py
changeset 3383 c6aff16e5aed
parent 3376 f5c69485381f
child 3405 9d31c9cb8103
--- a/vregistry.py	Wed Sep 23 09:35:28 2009 +0200
+++ b/vregistry.py	Wed Sep 23 09:35:36 2009 +0200
@@ -61,7 +61,8 @@
 def class_regid(cls):
     """returns a unique identifier for an appobject class"""
     if 'id' in cls.__dict__:
-        warn('%s: id is deprecated, use __regid__')
+        warn('%s.%s: id is deprecated, use __regid__'
+             % (cls.__module__, cls.__name__), DeprecationWarning)
         cls.__regid__ = cls.id
     if hasattr(cls, 'id'):
         return cls.id