summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
authorMikhail Lopotkov <ms.lopotkov@tensor.ru>2016-02-05 14:50:51 +0500
committerMikhail Lopotkov <ms.lopotkov@tensor.ru>2016-02-05 14:58:22 +0500
commit293a9dc9b086568a043040f07fdf1aa574a52500 (patch)
tree165ba869f05b16074e4b3905c39b6ba2d9d9a27a /gitlab/objects.py
parente387de528ad21766747b91bb7e1cd91f6e4642b5 (diff)
downloadgitlab-293a9dc9b086568a043040f07fdf1aa574a52500.tar.gz
fix GitlabObject creation in _custom_list
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index a781cb1..0629753 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -163,7 +163,7 @@ class BaseManager(object):
l = []
for j in r.json():
- o = cls(self, j)
+ o = cls(self.gitlab, j)
o._from_api = True
l.append(o)