summaryrefslogtreecommitdiff
path: root/gitlab.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2013-02-14 19:53:59 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2013-02-14 19:53:59 +0100
commit4d11843e7c04bdec8a8d814645d955be5149a227 (patch)
tree71021ae93ac1763b17c176ed2e59892421961b30 /gitlab.py
parent0dd1ede13875512f50d7cb76df48d712dc2bc5d5 (diff)
downloadgitlab-4d11843e7c04bdec8a8d814645d955be5149a227.tar.gz
add missing raise keywork
Diffstat (limited to 'gitlab.py')
-rw-r--r--gitlab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab.py b/gitlab.py
index 8de712c..a02700b 100644
--- a/gitlab.py
+++ b/gitlab.py
@@ -92,7 +92,7 @@ class Gitlab(object):
try:
r = requests.post(url, data)
except:
- GitlabConnectionError('Can\'t connect to GitLab server (%s)'%self.url)
+ raise GitlabConnectionError('Can\'t connect to GitLab server (%s)'%self.url)
return r