[publisher] avoid extra Name error on unexpected error stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 16 Sep 2010 18:39:35 +0200
branchstable
changeset 6273 8dbdd4cc7938
parent 6272 bb546568e466
child 6274 72bf3ec4068b
[publisher] avoid extra Name error on unexpected error
web/application.py
--- a/web/application.py	Thu Sep 16 18:39:16 2010 +0200
+++ b/web/application.py	Thu Sep 16 18:39:35 2010 +0200
@@ -434,6 +434,7 @@
             except:
                 self.critical('Catch all triggered!!!')
                 self.exception('this is what happened')
+                result = 'oops'
         finally:
             if req.cnx and not commited:
                 try: