From 4d11843e7c04bdec8a8d814645d955be5149a227 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Thu, 14 Feb 2013 19:53:59 +0100 Subject: add missing raise keywork --- gitlab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gitlab.py') 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 -- cgit v1.2.1