[deprecation] add version info
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 22 Oct 2010 11:06:57 +0200
changeset 6583 4e7325d6b616
parent 6582 8eb7883b4223
child 6584 c4aa6186d3a3
[deprecation] add version info
web/views/baseviews.py
--- a/web/views/baseviews.py	Fri Oct 22 09:15:35 2010 +0200
+++ b/web/views/baseviews.py	Fri Oct 22 11:06:57 2010 +0200
@@ -359,7 +359,7 @@
 
     def call(self, subvid=None, **kwargs):
         if subvid is None and 'vid' in kwargs:
-            warn("should give a 'subvid' argument instead of 'vid'",
+            warn("[3.9] should give a 'subvid' argument instead of 'vid'",
                  DeprecationWarning, stacklevel=2)
         else:
             kwargs['vid'] = subvid