Skip to content

Commit f6ee42c

Browse files
committed
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
1 parent d394bac commit f6ee42c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openstackclient/api/object_store_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def object_list(
328328
headers will be a dict and all header names will be lowercase.
329329
"""
330330

331-
if container is None or object is None:
331+
if container is None:
332332
return None
333333

334334
params['format'] = 'json'

0 commit comments

Comments
 (0)