diff options
| author | Pete Zaitcev <zaitcev@kotori.zaitcev.us> | 2020-05-12 23:19:38 -0500 |
|---|---|---|
| committer | Pete Zaitcev <zaitcev@kotori.zaitcev.us> | 2020-05-15 11:24:25 -0500 |
| commit | f6ee42cd32833bf7484cbf18eab9ed110a5e9782 (patch) | |
| tree | 3e7882cfabce4ef2485bd0854c6bb2be7eb1e86b /openstackclient/api | |
| parent | d394bac1debed9c9aac577220bdb6f08bfa10d60 (diff) | |
| download | python-openstackclient-f6ee42cd32833bf7484cbf18eab9ed110a5e9782.tar.gz | |
Cleanup: remove a useless reference to "object"
The method "object_list" does not have an argument "object",
so we were using a built-in class "object" by mistake.
Change-Id: I74687659223d31d3c3c119eee5874edff30634fd
Diffstat (limited to 'openstackclient/api')
| -rw-r--r-- | openstackclient/api/object_store_v1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/api/object_store_v1.py b/openstackclient/api/object_store_v1.py index c8514a57..dcb32878 100644 --- a/openstackclient/api/object_store_v1.py +++ b/openstackclient/api/object_store_v1.py @@ -328,7 +328,7 @@ class APIv1(api.BaseAPI): headers will be a dict and all header names will be lowercase. """ - if container is None or object is None: + if container is None: return None params['format'] = 'json' |
