diff options
author | James Johnson <d0c.s4vage@gmail.com> | 2017-09-11 23:20:08 -0500 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-09-12 06:20:08 +0200 |
commit | 29879d61d117ff7909302ed845a6a1eb13814365 (patch) | |
tree | fafcb7f7003cc4b5a4146ea6090a76d9bf82082e /gitlab/v4/cli.py | |
parent | fd40fce913fbb3cd0e3aa2fd042e20bf1d51e9d6 (diff) | |
download | gitlab-29879d61d117ff7909302ed845a6a1eb13814365.tar.gz |
adds project upload feature (#239)
Diffstat (limited to 'gitlab/v4/cli.py')
-rw-r--r-- | gitlab/v4/cli.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gitlab/v4/cli.py b/gitlab/v4/cli.py index 637adfc..6e664b3 100644 --- a/gitlab/v4/cli.py +++ b/gitlab/v4/cli.py @@ -324,6 +324,8 @@ def run(gl, what, action, args, verbose, output, fields): else: print(obj) print('') + elif isinstance(ret_val, dict): + printer.display(ret_val, verbose=verbose, obj=ret_val) elif isinstance(ret_val, gitlab.base.RESTObject): printer.display(get_dict(ret_val), verbose=verbose, obj=ret_val) elif isinstance(ret_val, six.string_types): |