From f6ee42cd32833bf7484cbf18eab9ed110a5e9782 Mon Sep 17 00:00:00 2001 From: Pete Zaitcev Date: Tue, 12 May 2020 23:19:38 -0500 Subject: [PATCH] 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 --- openstackclient/api/object_store_v1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstackclient/api/object_store_v1.py b/openstackclient/api/object_store_v1.py index c8514a5723..dcb32878c6 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'