Fix syntax error

This commit is contained in:
John Kleinschmidt
2017-09-06 12:54:26 -04:00
parent da73284515
commit 47242064ba

View File

@@ -189,8 +189,8 @@ def create_release_draft(github, tag):
if body == '':
sys.stderr.write('Quit due to empty release note.\n')
sys.exit(0)
data = dict(tag_name=tag, name=name, body=body, draft=True target_commitish='1-6-x')
data = dict(tag_name=tag, name=name, body=body, draft=True,
target_commitish='1-6-x')
r = github.repos(ELECTRON_REPO).releases.post(data=data)
return r