[deprecation] add cw version number to the deprecation message and help user to understand the change stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 28 Aug 2013 12:08:31 +0200
branchstable
changeset 9225 4b81252fccdd
parent 9224 5c6d6a9f4fc8
child 9226 653f1d4a1101
[deprecation] add cw version number to the deprecation message and help user to understand the change
web/views/authentication.py
--- a/web/views/authentication.py	Wed Aug 28 11:56:07 2013 +0200
+++ b/web/views/authentication.py	Wed Aug 28 12:08:31 2013 +0200
@@ -71,7 +71,10 @@
         """
         pass
 
-WebAuthInfoRetreiver = class_renamed('WebAuthInfoRetreiver', WebAuthInfoRetriever)
+WebAuthInfoRetreiver = class_renamed(
+    'WebAuthInfoRetreiver', WebAuthInfoRetriever,
+    '[3.17] WebAuthInfoRetreiver had been renamed into WebAuthInfoRetriever '
+    '("ie" instead of "ei")')
 
 
 class LoginPasswordRetriever(WebAuthInfoRetriever):
@@ -93,7 +96,10 @@
     def revalidate_login(self, req):
         return req.get_authorization()[0]
 
-LoginPasswordRetreiver = class_renamed('LoginPasswordRetreiver', LoginPasswordRetriever)
+LoginPasswordRetreiver = class_renamed(
+    'LoginPasswordRetreiver', LoginPasswordRetriever,
+    '[3.17] LoginPasswordRetreiver had been renamed into LoginPasswordRetriever '
+    '("ie" instead of "ei")')
 
 
 class RepositoryAuthenticationManager(AbstractAuthenticationManager):