[Twisted-Python] incredibly minor "fix"
rich at enflyer.com
Tue Apr 8 17:19:06 EDT 2003
I know, I couldn't have possibly found something smaller. The warning was
annoying me. This is a patch to FormErrorModel to add the request argument to
the wmfactory method.
Also, I was the one in #twisted this weekend asking about woven.guard. I pretty
much figured it out, it seems so easy now. I have some ideas for making it easy
(subclassing PerspectiveWrapper) to use any resource to display the login prompt
(not the auto-generated FormProcessor). Is this something I should submit, or
does it already work that way and I was too dense to see it?
RCS file: /cvs/Twisted/twisted/web/woven/form.py,v
retrieving revision 1.25
diff -u -r1.25 form.py
--- form.py 7 Mar 2003 17:22:41 -0000 1.25
+++ form.py 8 Apr 2003 21:07:47 -0000
@@ -265,7 +265,7 @@
self.err = err
self.desc = "Please try again"
- def wmfactory_description(self):
+ def wmfactory_description(self, request):
More information about the Twisted-Python