web/uicfg.py
branchstable
changeset 6172 9987f5525e20
parent 5869 8a129b3a5aff
child 6173 eb386e473044
child 6246 62e25fac41cd
equal deleted inserted replaced
6171:8af7d755f05f 6172:9987f5525e20
   408                          rtype, obj, subj, rtype, obj)
   408                          rtype, obj, subj, rtype, obj)
   409         super(_ReleditTags, self).tag_object_of(key, *args, **kwargs)
   409         super(_ReleditTags, self).tag_object_of(key, *args, **kwargs)
   410 
   410 
   411     def tag_relation(self, key, tag):
   411     def tag_relation(self, key, tag):
   412         for tagkey in tag.iterkeys():
   412         for tagkey in tag.iterkeys():
   413             assert tagkey in self._keys
   413             assert tagkey in self._keys, 'tag %r not in accepted tags: %r' % (tag, self._keys)
   414         return super(_ReleditTags, self).tag_relation(key, tag)
   414         return super(_ReleditTags, self).tag_relation(key, tag)
   415 
   415 
   416 reledit_ctrl = _ReleditTags('reledit')
   416 reledit_ctrl = _ReleditTags('reledit')
   417 
   417 
   418 # boxes.EditBox configuration #################################################
   418 # boxes.EditBox configuration #################################################