ソースを参照

Merge branch 'master' into canvas_refactor

Ask Solem 11 年 前
コミット
03e67aabe6
1 ファイル変更3 行追加1 行削除
  1. 3 1
      celery/local.py

+ 3 - 1
celery/local.py

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