Skip to content

Commit 3817e63

Browse files
committed
Fix linting
1 parent cca99ea commit 3817e63

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lithops/scripts/cli.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -384,14 +384,13 @@ def list_bucket(prefix, bucket, backend, debug, config):
384384

385385
objs = [
386386
{
387-
key: obj[key].strftime("%b %d %Y %H:%M:%S") if key == 'LastModified' else
388-
sizeof_fmt(obj[key]) if key == 'Size' else
389-
obj[key]
390-
for key in ('Key', 'LastModified', 'Size') if key in obj
387+
key: obj[key].strftime("%b %d %Y %H:%M:%S") if key == 'LastModified' else sizeof_fmt(obj[key]) if key == 'Size' else obj[key]
388+
for key in ('Key', 'LastModified', 'Size')
389+
if key in obj
391390
}
392391
for obj in objects
393392
]
394-
393+
395394
if objs[0]:
396395
print()
397396
print(tabulate(objs, headers="keys"))

0 commit comments

Comments
 (0)