[appobject] add version number to deprecation warning stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 25 Mar 2010 14:49:24 +0100
branchstable
changeset 5018 2f2d9bc6dca4
parent 5015 55e2602545cd
child 5019 72734c210836
[appobject] add version number to deprecation warning
appobject.py
--- a/appobject.py	Thu Mar 25 14:25:44 2010 +0100
+++ b/appobject.py	Thu Mar 25 14:49:24 2010 +0100
@@ -258,7 +258,7 @@
         except AttributeError:
             pdefs = getattr(cls, 'cw_property_defs', {})
         else:
-            warn('property_defs is deprecated, use cw_property_defs in %s'
+            warn('[3.6] property_defs is deprecated, use cw_property_defs in %s'
                  % cls, DeprecationWarning)
         for propid, pdef in pdefs.items():
             pdef = pdef.copy() # may be shared