Browse Source

Merge branch 'master' into canvas_refactor

Ask Solem 11 years ago
parent
commit
03e67aabe6
1 changed files with 3 additions and 1 deletions
  1. 3 1
      celery/local.py

+ 3 - 1
celery/local.py

@@ -251,7 +251,9 @@ class PromiseProxy(Proxy):
             thing = Proxy._get_current_object(self)
             thing = Proxy._get_current_object(self)
             object.__setattr__(self, '__thing', thing)
             object.__setattr__(self, '__thing', thing)
             return thing
             return thing
-        finally:
+        except:
+            raise
+        else:
             for attr in _clean:
             for attr in _clean:
                 try:
                 try:
                     object.__delattr__(self, attr)
                     object.__delattr__(self, attr)