rtags.py
branchtls-sprint
changeset 1726 08918409815e
parent 1723 30c3a713ab61
child 1739 78b0819162a8
equal deleted inserted replaced
1725:d15406d17803 1726:08918409815e
    39                 otype = otype[1:]
    39                 otype = otype[1:]
    40             else:
    40             else:
    41                 raise AssertionError('either stype or rtype should have the '
    41                 raise AssertionError('either stype or rtype should have the '
    42                                      'role mark ("!")')
    42                                      'role mark ("!")')
    43         else:
    43         else:
    44             assert tagged in ('subject', 'object'), tagged
    44             assert tagged in ('subject', 'object'), repr(tagged)
    45         return stype, otype, tagged
    45         return stype, otype, tagged
    46 
    46 
    47     def _get_keys(self, stype, rtype, otype, tagged=None):
    47     def _get_keys(self, stype, rtype, otype, tagged=None):
    48         stype, otype, tagged = self._get_tagged(stype, otype, tagged)
    48         stype, otype, tagged = self._get_tagged(stype, otype, tagged)
    49         keys = [(rtype, tagged, '*', '*'),
    49         keys = [(rtype, tagged, '*', '*'),