Skip to content

Commit f5ca0eb

Browse files
author
Gauvain Pocentek
committed
Merge pull request #90 from ms-boom/fix_custom_list
fix GitlabObject creation in _custom_list
2 parents e387de5 + 293a9dc commit f5ca0eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def _custom_list(self, url, cls, **kwargs):
163163

164164
l = []
165165
for j in r.json():
166-
o = cls(self, j)
166+
o = cls(self.gitlab, j)
167167
o._from_api = True
168168
l.append(o)
169169

0 commit comments

Comments
 (0)