diff options
Diffstat (limited to 'gitlab/cli.py')
-rw-r--r-- | gitlab/cli.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gitlab/cli.py b/gitlab/cli.py index c3289df..2874a5f 100644 --- a/gitlab/cli.py +++ b/gitlab/cli.py @@ -149,8 +149,7 @@ def do_create(cls, gl, what, args): die("%s objects can't be created" % what) try: - o = cls(gl, args) - o.save() + o = cls.create(gl, args) except Exception as e: die("Impossible to create object (%s)" % str(e)) |