add version to deprecation warning 3.5
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 27 Aug 2009 16:56:55 +0200
branch3.5
changeset 3036 26827ed46860
parent 3034 b03c63008c61
child 3037 45de36c7d47c
add version to deprecation warning
vregistry.py
--- a/vregistry.py	Thu Aug 27 13:01:47 2009 +0200
+++ b/vregistry.py	Thu Aug 27 16:56:55 2009 +0200
@@ -171,7 +171,7 @@
         raise `NoSelectableObject` if not object apply
         """
         if len(args) > 1:
-            warn('only the request param can not be named when calling select',
+            warn('[2.5] only the request param can not be named when calling select*',
                  DeprecationWarning, stacklevel=3)
         score, winners = 0, []
         for appobject in appobjects: