summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@kotori.zaitcev.us>2020-05-12 23:19:38 -0500
committerPete Zaitcev <zaitcev@kotori.zaitcev.us>2020-05-15 11:24:25 -0500
commitf6ee42cd32833bf7484cbf18eab9ed110a5e9782 (patch)
tree3e7882cfabce4ef2485bd0854c6bb2be7eb1e86b /openstackclient
parentd394bac1debed9c9aac577220bdb6f08bfa10d60 (diff)
downloadpython-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')
-rw-r--r--openstackclient/api/object_store_v1.py2
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'