add str() to avoid kilometers of information while printing content (due to __repr__ of yams objects)
--- a/rtags.py Wed Apr 08 11:29:28 2009 +0200
+++ b/rtags.py Wed Apr 08 11:30:32 2009 +0200
@@ -25,7 +25,7 @@
def set_rtag(self, tag, rtype, role, stype='*', otype='*'):
assert not self.use_set
assert role in ('subject', 'object'), role
- self._tagdefs[(rtype, role, stype, otype)] = tag
+ self._tagdefs[(str(rtype), role, str(stype), str(otype))] = tag
def rtag(self, rtype, role, stype='*', otype='*'):
assert not self.use_set