summaryrefslogtreecommitdiff
path: root/gitlab
diff options
context:
space:
mode:
authorStefano Mandruzzato <stefano.mandruzzato@gmail.com>2015-04-27 22:33:11 +0200
committerStefano Mandruzzato <stefano.mandruzzato@gmail.com>2015-04-27 22:33:11 +0200
commitbdc6f73ca54cea41022c99cbb7f894f1eb04d545 (patch)
treebfc1e3a79869f81e353a62ebb827eb147310759a /gitlab
parente6c85b57405473784cd2dedd36df1bb906191e8f (diff)
downloadgitlab-bdc6f73ca54cea41022c99cbb7f894f1eb04d545.tar.gz
remove "gitlab" of arguments because conflicts with "gitlab" attribute with GitlabObject class
Diffstat (limited to 'gitlab')
-rwxr-xr-xgitlab3
1 files changed, 3 insertions, 0 deletions
diff --git a/gitlab b/gitlab
index 40a15db..0638112 100755
--- a/gitlab
+++ b/gitlab
@@ -18,6 +18,7 @@
from __future__ import print_function, division, absolute_import
import argparse
+import inspect
import os
import sys
@@ -249,6 +250,8 @@ if __name__ == "__main__":
config.read(['/etc/python-gitlab.cfg',
os.path.expanduser('~/.python-gitlab.cfg')])
gitlab_id = arg.gitlab
+ #conflicts with "gitlab" attribute with GitlabObject class
+ d.pop("gitlab")
verbose = arg.verbosity
action = arg.action
what = arg.what