le patch fix-3.6-deprecation-warning a été importé stable
authorJulien Jehannet <julien.jehannet@logilab.fr>
Mon, 22 Feb 2010 17:23:46 +0100
branchstable
changeset 4782 da0ad1b10779
parent 4781 d12cbd0b7574
child 4783 6dc34d4cf892
le patch fix-3.6-deprecation-warning a été importé
web/uicfg.py
--- a/web/uicfg.py	Thu Mar 04 08:50:27 2010 +0100
+++ b/web/uicfg.py	Mon Feb 22 17:23:46 2010 +0100
@@ -455,7 +455,7 @@
     """XXX for < 3.6 bw compat"""
     def tag_relation(self, key, tag):
         warn('autoform_is_inlined is deprecated, use autoform_section '
-             'with formtype="inlined", section="attributes" or section="hidden"',
+             'with formtype="main", section="inlined"',
              DeprecationWarning, stacklevel=3)
         section = tag and 'inlined' or 'hidden'
         autoform_section.tag_relation(key, 'main', section)