equal
deleted
inserted
replaced
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 """ |