# HG changeset patch # User Sylvain Thénault # Date 1251385015 -7200 # Node ID 26827ed4686012a745f11a4c22e1b7e22711bd0d # Parent b03c63008c61acd6c9a72aa9cd180cfbe58af1aa add version to deprecation warning diff -r b03c63008c61 -r 26827ed46860 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: