python-glanceclient/glanceclient
Mridula Joshi 1eb0bbbed7 Fix undesirable raw Python error
Using the glanceclient without a subcommand while
passing an optional argument triggers the raw Python
error `ERROR: 'Namespace' object has no attribute
'func'`. This bug can be reproduced by issuing the
command `glance --os-image-api-version 2`.
Added a default value to `func` as placeholder
so that a help message is shown instead of the Python error.

Closes-Bug: #1903727
Change-Id: Ie4288262e408192310cbbc240bd1779b265a64fd
2021-08-03 10:35:40 +00:00
..
common Get tasks associated with image 2021-03-02 10:02:14 -08:00
tests Fix undesirable raw Python error 2021-08-03 10:35:40 +00:00
v1 Merge "Do not use the six library." 2020-07-17 19:32:29 +00:00
v2 Add member-get command 2021-08-02 09:08:50 +00:00
__init__.py Enable flake8 checks 2015-07-21 17:08:27 +03:00
_i18n.py Remove log translations 2017-03-21 07:19:21 +08:00
client.py Use import_versioned_module from oslo.utils 2016-12-06 09:35:55 +00:00
exc.py Do not use the six library. 2020-06-23 21:51:07 +02:00
shell.py Fix undesirable raw Python error 2021-08-03 10:35:40 +00:00