Skip to content

Commit

Permalink
Merge pull request celery#1537 from akshar-raaj/remove-extra-bind-call
Browse files Browse the repository at this point in the history
bind() on Task instance was being called twice
  • Loading branch information
ask committed Sep 9, 2013
2 parents c56e13e + 7282b21 commit ce55c4c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion celery/app/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ def _task_from_fun(self, fun, **options):
'__doc__': fun.__doc__,
'__module__': fun.__module__}, **options))()
task = self._tasks[T.name] # return global instance.
task.bind(self)
return task

def finalize(self):
Expand Down

0 comments on commit ce55c4c

Please sign in to comment.