From 0daf963f20b8229b1d6eb229b6fc4fa92f7e4fe1 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Mon, 30 Apr 2018 21:33:22 -0500 Subject: [PATCH] Fix Celery signature creation --- readthedocs/core/utils/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/readthedocs/core/utils/__init__.py b/readthedocs/core/utils/__init__.py index 27de434c172..e1b6fd88ea2 100644 --- a/readthedocs/core/utils/__init__.py +++ b/readthedocs/core/utils/__init__.py @@ -106,7 +106,6 @@ def prepare_build( version = project.versions.get(slug=LATEST) kwargs = { - 'pk': project.pk, 'version_pk': version.pk, 'record': record, 'force': force, @@ -140,7 +139,7 @@ def prepare_build( options['time_limit'] = int(time_limit * 1.2) update_docs_task = UpdateDocsTask() - return update_docs_task.si(kwargs=kwargs, **options) + return update_docs_task.si((project.pk,), kwargs, **options) def trigger_build(project, version=None, record=True, force=False):