mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
Merge pull request #459 from t-woerner/changelog_get_commit
utils/changelog: Fix get_commit to use proper variable
This commit is contained in:
@@ -87,7 +87,7 @@ def store(commits, prs, authors, commit, author, merge, msg):
|
||||
|
||||
def get_commit(commits, commit):
|
||||
_commits = [value for key, value in commits.items()
|
||||
if key.startswith(merge)]
|
||||
if key.startswith(commit)]
|
||||
if len(_commits) == 1:
|
||||
return _commits[0]
|
||||
return commit
|
||||
|
||||
Reference in New Issue
Block a user