changeset 4013 | f0d1038e5059 |
parent 3674 | 387d51af966d |
child 4252 | 6c4f109c2b03 |
--- a/vregistry.py Tue Dec 08 08:46:15 2009 +0100 +++ b/vregistry.py Tue Dec 08 09:09:07 2009 +0100 @@ -64,7 +64,7 @@ warn('[3.6] %s.%s: id is deprecated, use __regid__' % (cls.__module__, cls.__name__), DeprecationWarning) cls.__regid__ = cls.id - if hasattr(cls, 'id'): + if hasattr(cls, 'id') and not isinstance(cls.id, property): return cls.id return cls.__regid__