Show More
@@ -47,7 +47,7 b' def _commits_as_dict(commit_ids, repos):' | |||
|
47 | 47 | if not commit_ids: |
|
48 | 48 | return [] |
|
49 | 49 | |
|
50 |
needed_commits = s |
|
|
50 | needed_commits = list(commit_ids) | |
|
51 | 51 | |
|
52 | 52 | commits = [] |
|
53 | 53 | reviewers = [] |
@@ -57,7 +57,7 b' def _commits_as_dict(commit_ids, repos):' | |||
|
57 | 57 | |
|
58 | 58 | vcs_repo = repo.scm_instance(cache=False) |
|
59 | 59 | try: |
|
60 |
for commit_id in |
|
|
60 | for commit_id in needed_commits: | |
|
61 | 61 | try: |
|
62 | 62 | cs = vcs_repo.get_changeset(commit_id) |
|
63 | 63 | except CommitDoesNotExistError: |
@@ -78,7 +78,7 b' def _commits_as_dict(commit_ids, repos):' | |||
|
78 | 78 | repo.repo_name) |
|
79 | 79 | commits.append(cs_data) |
|
80 | 80 | |
|
81 |
needed_commits. |
|
|
81 | needed_commits.remove(commit_id) | |
|
82 | 82 | |
|
83 | 83 | except Exception as e: |
|
84 | 84 | log.exception(e) |
General Comments 0
You need to be logged in to leave comments.
Login now