web/uicfg.py
branchstable
changeset 4564 38f0562b744b
parent 4521 32402dd2504d
child 4565 9f991ee66e19
--- a/web/uicfg.py	Fri Feb 12 13:35:12 2010 +0100
+++ b/web/uicfg.py	Fri Feb 12 16:48:57 2010 +0100
@@ -312,6 +312,10 @@
             formsections.add('%s_%s' % (formtype, section))
 
     def tag_relation(self, key, formtype, section=None):
+        if isinstance(formtype, tuple):
+            for ftype in formtype:
+                self.tag_relation(key, ftype, section)
+            return
         if section is None:
             tag = formtype
             for formtype, section in self.bw_tag_map[tag].iteritems():