Prechádzať zdrojové kódy

ResultSet: Results created from string now have the app properly set

Conflicts:
	celery/result.py
Ask Solem 11 rokov pred
rodič
commit
b2c1095260
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      celery/result.py

+ 1 - 1
celery/result.py

@@ -312,7 +312,7 @@ class ResultSet(ResultBase):
 
         """
         if isinstance(result, basestring):
-            result = AsyncResult(result)
+            result = self.app.AsyncResult(result)
         try:
             self.results.remove(result)
         except ValueError: