Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch mismatched function call #2169

Merged
merged 1 commit into from
Feb 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
# else:
# import MySQLdb

def nuke_affiliations(session, repo_id_list):
def nuke_affiliations(session):

# Delete all stored affiliations in the database. Normally when you
# add/remove/change affiliation data via the web UI, any potentially affected
Expand All @@ -56,8 +56,7 @@ def nuke_affiliations(session, repo_id_list):
session.log_activity('Info','Nuking affiliations')

nuke = s.sql.text("""UPDATE commits SET cmt_author_affiliation = NULL,
cmt_committer_affiliation = NULL
WHERE repo_id IN :values""").bindparams(values=tuple(repo_id_list))
cmt_committer_affiliation = NULL""")

session.execute_sql(nuke)

Expand Down
3 changes: 1 addition & 2 deletions augur/tasks/start_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def repo_collect_phase():
logger.info(f"Scheduling groups of {len(first_pass)}")
#Pool the tasks for collecting repo info.
repo_info_tasks = create_grouped_task_load(dataList=first_pass, task=collect_repo_info).tasks

#pool the repo collection jobs that should be ran first and have deps.
primary_repo_jobs = group(
*create_grouped_task_load(dataList=first_pass, task=collect_issues).tasks,
Expand All @@ -91,7 +91,6 @@ def repo_collect_phase():
*create_grouped_task_load(dataList=first_pass, task=process_pull_request_files).tasks,
*create_grouped_task_load(dataList=first_pass, task=process_pull_request_commits).tasks
)


repo_task_group = group(
*repo_info_tasks,
Expand Down