add version info to deprecation warning stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 15 Feb 2010 15:11:18 +0100
branchstable
changeset 4572 9e0a86d3ba62
parent 4571 794ac358dc36
child 4573 fc6bb020e60e
add version info to deprecation warning
web/views/primary.py
--- a/web/views/primary.py	Mon Feb 15 15:11:02 2010 +0100
+++ b/web/views/primary.py	Mon Feb 15 15:11:18 2010 +0100
@@ -161,7 +161,7 @@
                 try:
                     label, rset, vid, dispctrl  = box
                 except ValueError:
-                    warn('box views should now be defined as a 4-uple (label, rset, vid, dispctrl), '
+                    warn('[3.5] box views should now be defined as a 4-uple (label, rset, vid, dispctrl), '
                          'please update %s' % self.__class__.__name__,
                          DeprecationWarning)
                     label, rset, vid  = box