Skip to content

Commit

Permalink
[DEV-7783] FIX: duplicate link_error
Browse files Browse the repository at this point in the history
  • Loading branch information
pastap committed Mar 25, 2022
1 parent 3bf361e commit 6e475e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions celery/canvas.py
Expand Up @@ -255,9 +255,7 @@ def _merge(self, args=None, kwargs=None, options=None, force=False):
new_options = self.options

new_options = new_options if new_options else {}
new_options["link_error"] = new_options.get("link_error", []) + new_options.pop(
"link_error", []
)
new_options["link_error"] = new_options.get("link_error", []) or []

if self.immutable and not force:
return (self.args, self.kwargs, new_options)
Expand Down

0 comments on commit 6e475e6

Please sign in to comment.