Skip to content

Commit

Permalink
[Py3] Fixes docs build on py3
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Sep 25, 2015
1 parent 5b5e48a commit 62383df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion celery/app/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ class Task(object):
#: Default task expiry time.
expires = None

#: Task request stack, the current request will be the topmost.
request_stack = None

#: Some may expect a request to exist even if the task has not been
#: called. This should probably be deprecated.
_default_request = None
Expand Down Expand Up @@ -466,7 +469,7 @@ def apply_async(self, args=None, kwargs=None, task_id=None, producer=None,
except AttributeError:
pass
else:
check_arguments(*args or (), **kwargs or {})
check_arguments(*(args or ()), **(kwargs or {}))

app = self._get_app()
if app.conf.CELERY_ALWAYS_EAGER:
Expand Down

0 comments on commit 62383df

Please sign in to comment.