[deprecation] missing version number to old warning message stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 10 May 2010 15:15:06 +0200
branchstable
changeset 5505 7f98d22ac6e4
parent 5504 97ed78b54956
child 5506 0ee2edec2d7a
[deprecation] missing version number to old warning message
web/request.py
--- a/web/request.py	Mon May 10 15:14:47 2010 +0200
+++ b/web/request.py	Mon May 10 15:15:06 2010 +0200
@@ -367,7 +367,7 @@
                 ret = func(req, *args)
             except TypeError:
                 from warnings import warn
-                warn('user callback should now take request as argument')
+                warn('[3.2] user callback should now take request as argument')
                 ret = func(*args)
             self.unregister_callback(self.pageid, cbname)
             return ret