remove unused master argument from check_branch_sha()
Change-Id: Id52d104cebcc33bb817520af7dbc2685ea962d07 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
4d808671b6
commit
2a9af55b8d
@ -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'],
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user