فهرست منبع

Merge branch 'master' into nocallables

Ask Solem 15 سال پیش
والد
کامیت
b4bfa4b2a0
2فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 1
      celery/backends/database.py
  2. 0 1
      contrib/doc2ghpages

+ 1 - 1
celery/backends/database.py

@@ -34,7 +34,7 @@ class Backend(BaseBackend):
         """Store return value and status of an executed task."""
         if status == "DONE":
             result = self.prepare_result(result)
-        elif status == "FAILURE":
+        elif status in ["FAILURE", "RETRY"]:
             result = self.prepare_exception(result)
         TaskMeta.objects.store_result(task_id, result, status,
                                       traceback=traceback)

+ 0 - 1
contrib/doc2ghpages

@@ -1,6 +1,5 @@
 #!/bin/bash
 
-git checkout master
 (cd docs;
     rm -rf .build;
     make html;