Christoph Zwerschke schrieb:
> Christopher Arndt schrieb:
>>> UnboundLocalError: local variable 'retval' referenced before assignment
>> >From looking at the code, it seems that the error is on lines 365-369 in
>> that file. If an "InvalidRequestError" is raised, "retval" is not set.
> 
> Yes, instead of "pass" it should probably be:
> 
> retval = dispatch_exception(e,args,kw)
> 
> Also, I think the rollback() call 3 lines later should go into a
> try-except block, just like the commit() call.

http://trac.turbogears.org/ticket/1454

Care to make a patch?

BTW, the error is in 1.1. too.


Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to