Skip to content

Commit

Permalink
Merge pull request #3 from wholebiome/sys-exit
Browse files Browse the repository at this point in the history
Microfix to raise rather than return error
  • Loading branch information
kislyuk authored Sep 25, 2016
2 parents 7882af3 + 6a95f5b commit 6fe4203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aegea/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get_repo(url):
gh = github3.login(token=os.environ["GH_AUTH"])
except Exception:
msg = "GitHub login failed. Please get a token at https://github.com/settings/tokens and set the GH_AUTH environment variable to its value." # noqa
return SystemExit(msg)
raise SystemExit(msg)
gh_owner_name, gh_repo_name = parse_repo_name(url)
return gh.repository(gh_owner_name, gh_repo_name)

Expand Down

0 comments on commit 6fe4203

Please sign in to comment.