
Nov. 30, 2005
10:29 p.m.
... 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):