events: fix bug with _commits_as_dict which was returning only
even commits
This commit is contained in:
parent
8d9db09b41
commit
ff8a75d42e
1 changed files with 2 additions and 1 deletions
|
|
@ -57,7 +57,8 @@ def _commits_as_dict(commit_ids, repos):
|
|||
|
||||
vcs_repo = repo.scm_instance(cache=False)
|
||||
try:
|
||||
for commit_id in needed_commits:
|
||||
# use copy of needed_commits since we modify it while iterating
|
||||
for commit_id in list(needed_commits):
|
||||
try:
|
||||
cs = vcs_repo.get_changeset(commit_id)
|
||||
except CommitDoesNotExistError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue