rtags.py
brancholdstable
changeset 7083 b8e35cde46e9
parent 6900 fcd4e6beec09
child 8666 1dd655788ece
equal deleted inserted replaced
7074:e4580e5f0703 7083:b8e35cde46e9
   158     def etype_get(self, etype, rtype, role, ttype='*'):
   158     def etype_get(self, etype, rtype, role, ttype='*'):
   159         if role == 'subject':
   159         if role == 'subject':
   160             return self.get(etype, rtype, ttype, role)
   160             return self.get(etype, rtype, ttype, role)
   161         return self.get(ttype, rtype, etype, role)
   161         return self.get(ttype, rtype, etype, role)
   162 
   162 
       
   163     # these are overridden by set_log_methods below
       
   164     # only defining here to prevent pylint from complaining
       
   165     info = warning = error = critical = exception = debug = lambda msg,*a,**kw: None
   163 
   166 
   164 
   167 
   165 class RelationTagsSet(RelationTags):
   168 class RelationTagsSet(RelationTags):
   166     """This class associates a set of tags to each key.
   169     """This class associates a set of tags to each key.
   167     """
   170     """