We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0da618 commit bef97feCopy full SHA for bef97fe
gitlab/objects.py
@@ -294,7 +294,7 @@ def pretty_print(self, depth=0):
294
id = self.__dict__[self.idAttr]
295
print("%s%s: %s" % (" " * depth * 2, self.idAttr, id))
296
for k in sorted(self.__dict__.keys()):
297
- if k == self.idAttr or k == 'id':
+ if k in (self.idAttr, 'id', 'gitlab'):
298
continue
299
if k[0] == '_':
300
@@ -309,6 +309,8 @@ def pretty_print(self, depth=0):
309
v.pretty_print(1)
310
else:
311
print("%s: %s" % (pretty_k, v.id))
312
+ elif isinstance(v, BaseManager):
313
+ continue
314
315
if hasattr(v, __name__) and v.__name__ == 'Gitlab':
316
0 commit comments