summaryrefslogtreecommitdiff
path: root/gitlab.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab.py')
-rw-r--r--gitlab.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gitlab.py b/gitlab.py
index 6491571..e17be64 100644
--- a/gitlab.py
+++ b/gitlab.py
@@ -680,6 +680,8 @@ class GitlabObject(object):
for k in sorted(self.__dict__.keys()):
if k == self.idAttr:
continue
+ if k[0] == '_':
+ continue
v = self.__dict__[k]
pretty_k = k.replace('_', '-')
if six.PY2: