Skip to content

Commit 9744475

Browse files
author
Gauvain Pocentek
committed
make sure to not display both id and idAttr
1 parent f042d2f commit 9744475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ def pretty_print(self, depth=0):
678678
id = self.__dict__[self.idAttr]
679679
print("%s%s: %s" % (" " * depth * 2, self.idAttr, id))
680680
for k in sorted(self.__dict__.keys()):
681-
if k == self.idAttr:
681+
if k == self.idAttr or k == 'id':
682682
continue
683683
if k[0] == '_':
684684
continue

0 commit comments

Comments
 (0)