release tool: Improve output for open github issues

This commit is contained in:
Ryan Ernst 2015-02-04 14:31:22 -08:00
parent 2436552840
commit 65e41f2ec3
1 changed files with 2 additions and 2 deletions

View File

@ -274,8 +274,8 @@ def ensure_no_open_tickets(version):
if issues: if issues:
urls = [] urls = []
for issue in issues: for issue in issues:
urls.append(issue['url']) urls.append(issue['html_url'])
raise RuntimeError('Found open issues for release version %s see - %s' % (version, urls)) raise RuntimeError('Found open issues for release version %s:\n%s' % (version, '\n'.join(urls)))
else: else:
log("No open issues found for version %s" % version) log("No open issues found for version %s" % version)
else: else: