web/uicfg.py
branchstable
changeset 6172 9987f5525e20
parent 5869 8a129b3a5aff
child 6173 eb386e473044
child 6246 62e25fac41cd
--- a/web/uicfg.py	Wed Sep 01 15:56:21 2010 +0200
+++ b/web/uicfg.py	Fri Sep 03 15:42:14 2010 +0200
@@ -410,7 +410,7 @@
 
     def tag_relation(self, key, tag):
         for tagkey in tag.iterkeys():
-            assert tagkey in self._keys
+            assert tagkey in self._keys, 'tag %r not in accepted tags: %r' % (tag, self._keys)
         return super(_ReleditTags, self).tag_relation(key, tag)
 
 reledit_ctrl = _ReleditTags('reledit')