Browse Source

map() must now use ts.run().join() now that TaskSet.join() is gone

Ask Solem 15 years ago
parent
commit
457580f804
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/task/base.py

+ 1 - 1
celery/task/base.py

@@ -525,7 +525,7 @@ class TaskSet(object):
     def map(cls, func, args, timeout=None):
         """Distribute processing of the arguments and collect the results."""
         remote_task = cls.remote_execute(func, args)
-        return remote_task.join(timeout=timeout)
+        return remote_task.run().join(timeout=timeout)
 
     @classmethod
     def map_async(cls, func, args, timeout=None):