[Twisted-Python] web.guard application.authorizer obsolete message
Tommi Virtanen
tv at twistedmatrix.com
Sun Aug 25 07:54:40 EDT 2002
Hi. I'm not sure whether it is safe to commit this,
so sending this patch here. Please apply if suitable.
Index: twisted/web/guard.py
===================================================================
RCS file: /cvs/Twisted/twisted/web/guard.py,v
retrieving revision 1.16
diff -u -u -r1.16 guard.py
--- twisted/web/guard.py 21 Aug 2002 13:21:30 -0000 1.16
+++ twisted/web/guard.py 25 Aug 2002 11:35:13 -0000
@@ -128,7 +128,7 @@
# must be done before page is displayed so cookie can get set!
request.getSession()
# this site must be tagged with an application.
- idrq = self.reqauth.service.application.authorizer.getIdentityRequest(username)
+ idrq = self.reqauth.service.authorizer.getIdentityRequest(username)
idrq.needsHeader = 1
idrq.addCallbacks(self.gotIdentity, self.didntGetIdentity,
callbackArgs=(password,request,perspective or username),
--
tv@{{hq.yok.utu,havoc,gaeshido}.fi,{debian,wanderer}.org,stonesoft.com}
double a,b=4,c;main(){for(;++a<2e6;c-=(b=-b)/a++);printf("%f\n",c);}
More information about the Twisted-Python
mailing list