fix github support
after the method extraction, I missed one change. We aren't in a
loop any more, so continue isn't valid in this context. Instead
the function should just return to short circuit the rest of the
execution.
Change-Id: Ia52374da14c6ef4f5495adc1b3e2591ea9f58c85
Reviewed-on: https://review.openstack.org/28230
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
diff --git a/jeepyb/cmd/manage_projects.py b/jeepyb/cmd/manage_projects.py
index b72dc89..82531f2 100644
--- a/jeepyb/cmd/manage_projects.py
+++ b/jeepyb/cmd/manage_projects.py
@@ -261,7 +261,7 @@
org = orgs_dict[org_name.lower()]
except KeyError:
# We do not have control of this github org ignore the project.
- continue
+ return
try:
repo = org.get_repo(repo_name)
except github.GithubException: