...
Sorry, I've introduced an error in livefrag.py, here corrected patch...

Paul
Index: livefrag.py 
=================================================================== 
--- livefrag.py (Revision 3368) 
+++ livefrag.py (Arbeitskopie) 
@@ -40,11 +40,10 @@ 
  
     def __init__(self, label, *a, **kw): 
         super(CooperativeFrag, self).__init__(*a, **kw) 
-        self.allowedMethods = {label: True} 
         setattr(self, label, lambda: unicode(label)) 
  
     def render_submit(self, ctx, data): 
-        return "submitIt(this, '%s'); return false;" % 
(self.allowedMethods.keys()[0],) 
+        return "submitIt(this, '%s'); return false;" % label 
  
 class Root(rend.Page): 
     def child_(self, ctx): 
_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to