# HG changeset patch # User Sylvain Thénault # Date 1287738417 -7200 # Node ID 4e7325d6b61646504fa94687aa41232a11493cc8 # Parent 8eb7883b42232244bdc6fb7b791ca5db20d1af20 [deprecation] add version info diff -r 8eb7883b4223 -r 4e7325d6b616 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