From ee54b3e6927f6c8d3b5f9bcbec0e67b94be8566d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=20M=C3=A4enp=C3=A4=C3=A4?= Date: Tue, 14 Oct 2014 14:14:08 +0300 Subject: [PATCH] Gitlab.get() raised GitlabListError instead of GitlabGetError --- gitlab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitlab.py b/gitlab.py index 93cc2dfdc..c6cb6d7a4 100644 --- a/gitlab.py +++ b/gitlab.py @@ -232,8 +232,8 @@ def get(self, obj_class, id=None, **kwargs): if k not in kwargs: missing.append(k) if missing: - raise GitlabListError('Missing attribute(s): %s' % - ", ".join(missing)) + raise GitlabGetError('Missing attribute(s): %s' % + ", ".join(missing)) url = obj_class._url % _sanitize_dict(kwargs) if id is not None: