[deprecation] add cw version number to the deprecation message and help user to understand the change
--- 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):