This commit is contained in:
Oliver Chang 2019-04-03 15:29:23 +11:00 committed by GitHub
parent 7b3ebc2abb
commit 23a5f44b29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -66,6 +66,7 @@ def find_last_build(builds, project, build_tag_suffix):
builds = builds.get(tag)
if not builds:
print >>sys.stderr, 'Failed to find builds with tag', tag
return None
for build in builds:
@ -123,7 +124,7 @@ def get_builds(cloudbuild):
projectId='oss-fuzz', pageSize=page_size, pageToken=next_page_token))
if not 'builds' in response:
print >> sys.stderr, 'Invalid response', response
print >> sys.stderr, 'Invalid response from builds list:', response
return None
ungrouped_builds.extend(response['builds'])