Improve warning message
authorPierre-Yves
Fri, 18 Dec 2009 15:10:38 +0100
changeset 4146 39648619f3d8
parent 4145 77784738bf7b
child 4147 52fe79a98b21
Improve warning message
web/uicfg.py
--- a/web/uicfg.py	Fri Dec 18 15:08:20 2009 +0100
+++ b/web/uicfg.py	Fri Dec 18 15:10:38 2009 +0100
@@ -308,7 +308,7 @@
             tag = formtype
             for formtype, section in self.bw_tag_map[tag].iteritems():
                 warn('[3.6] add tag to autoform section by specifying form '
-                     'type and tag. Replace %s by formtype=%s, section=%s'
+                     'type and tag. Replace %s by formtype="%s", section="%s"'
                      % (tag, formtype, section), DeprecationWarning,
                      stacklevel=3)
                 self.tag_relation(key, formtype, section)