From 6a95f5b622e559dd0dfb9eaf1a8e49f6bf4501be Mon Sep 17 00:00:00 2001 From: Jim Bullard Date: Sun, 25 Sep 2016 00:55:24 -0700 Subject: [PATCH] Microfix to raise rather than return error --- aegea/deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegea/deploy.py b/aegea/deploy.py index d6af942e..4c0239fe 100644 --- a/aegea/deploy.py +++ b/aegea/deploy.py @@ -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)