mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-31 20:04:45 +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):
|
def get_commit(commits, commit):
|
||||||
_commits = [value for key, value in commits.items()
|
_commits = [value for key, value in commits.items()
|
||||||
if key.startswith(merge)]
|
if key.startswith(commit)]
|
||||||
if len(_commits) == 1:
|
if len(_commits) == 1:
|
||||||
return _commits[0]
|
return _commits[0]
|
||||||
return commit
|
return commit
|
||||||
|
|||||||
Reference in New Issue
Block a user