summaryrefslogtreecommitdiff
path: root/gitlab.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2014-10-26 06:23:08 +0100
committerGauvain Pocentek <gauvain.pocentek@objectif-libre.com>2014-10-26 06:23:08 +0100
commit9744475a9d100a1267ebe0be87acce8895cf3c57 (patch)
tree8e021636dcee4cf52b11b3004c4e2f09b6283987 /gitlab.py
parentf042d2f67c51c0de8d300ef6b1ee36ff5088cdc4 (diff)
downloadgitlab-9744475a9d100a1267ebe0be87acce8895cf3c57.tar.gz
make sure to not display both id and idAttr
Diffstat (limited to 'gitlab.py')
-rw-r--r--gitlab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab.py b/gitlab.py
index 59318f8..0282a69 100644
--- a/gitlab.py
+++ b/gitlab.py
@@ -678,7 +678,7 @@ class GitlabObject(object):
id = self.__dict__[self.idAttr]
print("%s%s: %s" % (" " * depth * 2, self.idAttr, id))
for k in sorted(self.__dict__.keys()):
- if k == self.idAttr:
+ if k == self.idAttr or k == 'id':
continue
if k[0] == '_':
continue