From cd6d906c6527db4c73df1a2308b5135b6d700d7f Mon Sep 17 00:00:00 2001 From: Eric Holscher Date: Thu, 26 Mar 2020 12:23:02 -0700 Subject: [PATCH] Fix silly issue with sync_callback This was used when being chained to pass the prior result, we don't need it anymore. --- readthedocs/projects/tasks.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/readthedocs/projects/tasks.py b/readthedocs/projects/tasks.py index cd27a64e553..85e6e20683f 100644 --- a/readthedocs/projects/tasks.py +++ b/readthedocs/projects/tasks.py @@ -2063,12 +2063,8 @@ def clean_project_resources(project, version=None): @app.task(queue='web') -def sync_callback(_, version_pk, commit, build, *args, **kwargs): - """ - Called once the sync_files tasks are done. - - The first argument is the result from previous tasks, which we discard. - """ +def sync_callback(version_pk, commit, build, *args, **kwargs): + """Called once the sync_files tasks are done.""" try: fileify(version_pk, commit=commit, build=build) except Exception: