Преглед изворни кода

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

Conflicts:
	celery/result.py
Ask Solem пре 11 година
родитељ
комит
b2c1095260
1 измењених фајлова са 1 додато и 1 уклоњено
  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: