diff options
Diffstat (limited to 'gitlab/v4/objects/ldap.py')
-rw-r--r-- | gitlab/v4/objects/ldap.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gitlab/v4/objects/ldap.py b/gitlab/v4/objects/ldap.py index 4a01061..053cd14 100644 --- a/gitlab/v4/objects/ldap.py +++ b/gitlab/v4/objects/ldap.py @@ -49,5 +49,4 @@ class LDAPGroupManager(RESTManager): obj = self.gitlab.http_list(path, **data) if isinstance(obj, list): return [self._obj_cls(self, item) for item in obj] - else: - return RESTObjectList(self, self._obj_cls, obj) + return RESTObjectList(self, self._obj_cls, obj) |