author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 27 Jan 2010 09:57:53 +0100 | |
changeset 4391 | bd8480824e0b |
parent 4390 | 0285c1fa1459 |
child 4392 | 91a56a30141e |
--- a/rtags.py Wed Jan 27 09:57:16 2010 +0100 +++ b/rtags.py Wed Jan 27 09:57:53 2010 +0100 @@ -104,6 +104,7 @@ self.tag_relation(key, *args, **kwargs) def tag_relation(self, key, tag): + assert len(key) == 4, 'bad key: %s' % list(key) if self._allowed_values is not None: assert tag in self._allowed_values, \ '%r is not an allowed tag (should be in %s)' % (