From 293a9dc9b086568a043040f07fdf1aa574a52500 Mon Sep 17 00:00:00 2001 From: Mikhail Lopotkov Date: Fri, 5 Feb 2016 14:50:51 +0500 Subject: [PATCH] fix GitlabObject creation in _custom_list --- gitlab/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlab/objects.py b/gitlab/objects.py index a781cb1da..06297534a 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -163,7 +163,7 @@ def _custom_list(self, url, cls, **kwargs): l = [] for j in r.json(): - o = cls(self, j) + o = cls(self.gitlab, j) o._from_api = True l.append(o)