remove unused master argument from check_branch_sha()

Change-Id: Id52d104cebcc33bb817520af7dbc2685ea962d07
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-08-22 10:52:30 -04:00
parent 4d808671b6
commit 2a9af55b8d
2 changed files with 1 additions and 2 deletions

View File

@ -497,7 +497,6 @@ def validate_releases(deliverable_info, zuul_layout,
if not gitutils.check_branch_sha(workdir,
project['repo'],
series_name,
defaults.RELEASE,
project['hash']):
msg = '%s %s not present in %s branch' % (
project['repo'],

View File

@ -136,7 +136,7 @@ def stable_branch_exists(workdir, repo, series):
return False
def check_branch_sha(workdir, repo, series, master, sha):
def check_branch_sha(workdir, repo, series, sha):
"""Check if the SHA is in the targeted branch.
The SHA must appear on a stable/$series branch (if it exists) or