batcave: fix the fedmsg hook
Since we're calling the line right after the len() of the variable we can't use map as in py3 a map as no length. So instead we'll just build the list right now. Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
4096ed8b4d
commit
79f8c0e654
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ for line in lines:
|
|||
agent=getlogin(),
|
||||
)
|
||||
|
||||
commits = map(_build_commit, revs)
|
||||
commits = [_build_commit(rev) for rev in revs]
|
||||
|
||||
print("* Publishing information for %i commits" % len(commits))
|
||||
for commit in reversed(commits):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue