diff options
| author | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2014-10-26 06:23:08 +0100 |
|---|---|---|
| committer | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2014-10-26 06:23:08 +0100 |
| commit | 9744475a9d100a1267ebe0be87acce8895cf3c57 (patch) | |
| tree | 8e021636dcee4cf52b11b3004c4e2f09b6283987 /gitlab.py | |
| parent | f042d2f67c51c0de8d300ef6b1ee36ff5088cdc4 (diff) | |
| download | gitlab-9744475a9d100a1267ebe0be87acce8895cf3c57.tar.gz | |
make sure to not display both id and idAttr
Diffstat (limited to 'gitlab.py')
| -rw-r--r-- | gitlab.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
