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: