add an XX message to remember to correct the bug: if a rtag is redefined in a subclass, the rtag of the base class overwrite the rtag of the subclass
authorStephanie Marcu <stephanie.marcu@logilab.fr>
Fri, 27 Feb 2009 09:59:53 +0100
changeset 979 93447d75c4b9
parent 978 536c748e7b3f
child 985 6a25c58a1c23
child 988 b73f3cd23d43
add an XX message to remember to correct the bug: if a rtag is redefined in a subclass, the rtag of the base class overwrite the rtag of the subclass
common/entity.py
--- a/common/entity.py	Thu Feb 26 14:01:00 2009 +0100
+++ b/common/entity.py	Fri Feb 27 09:59:53 2009 +0100
@@ -41,6 +41,8 @@
                                'inlineview'))
 
     def __init__(self, eclass, tagdefs):
+        # XXX if a rtag is redefined in a subclass,
+        # the rtag of the base class overwrite the rtag of the subclass
         self.eclass = eclass
         self._tagdefs = {}
         for relation, tags in tagdefs.iteritems():