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
This commit is contained in:
Pete Zaitcev 2020-05-12 23:19:38 -05:00
parent d394bac1de
commit f6ee42cd32

View File

@ -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'