aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2016-01-12 22:23:19 +0200
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2016-01-12 22:23:19 +0200
commit873d404a293fbafd587bb109b0ee55851a320e85 (patch)
tree6c8b54a80a92f0b046aed67e59cc1e38b1131d6a
parentbf6f9831242134b3170d46ffdec67d44a1709478 (diff)
downloadlinaro-git-tools-873d404a293fbafd587bb109b0ee55851a320e85.tar.gz
linaro_gerrit.py: list_group_members(): Return False in case of unknown error.
To continue processing. Some errors, like incorrect authentication, are fatal though. Change-Id: Ifdefcb2f31504a8999f20fb53282c69b3adfb49a
-rwxr-xr-xlinaro_gerrit.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/linaro_gerrit.py b/linaro_gerrit.py
index 16d5bef..de475cf 100755
--- a/linaro_gerrit.py
+++ b/linaro_gerrit.py
@@ -102,6 +102,7 @@ class LinaroGerrit:
return False
else:
log.error("list_group_members(%s): unexpected status code: %d", groupname, r.status_code)
+ return False
def add_group_member(self, groupname, username):
log.debug("Adding %s to group %s", username, groupname)