From 553e34ebfe891fe234abd722ceeba0809775a175 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Mon, 20 Sep 2021 12:33:16 -0700 Subject: Improve formatting for billions of objects Change-Id: If8aa08c4c8c8ad6ca2c861602baf1eefa8642a8a --- swiftclient/shell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'swiftclient/shell.py') diff --git a/swiftclient/shell.py b/swiftclient/shell.py index 43950e6..cf90ffc 100755 --- a/swiftclient/shell.py +++ b/swiftclient/shell.py @@ -552,7 +552,7 @@ def st_list(parser, args, output_manager, return_parser=False): datestamp = '????-??-?? ??:??:??' if not options['totals']: output_manager.print_msg( - "%5s %s %s %s", count, byte_str, + "%12s %s %s %s", count, byte_str, datestamp, item_name) else: # list container contents subdir = item.get('subdir') @@ -584,7 +584,7 @@ def st_list(parser, args, output_manager, return_parser=False): if options['long'] or human: if not container: output_manager.print_msg( - "%5s %s", prt_bytes(total_count, True), + "%12s %s", prt_bytes(total_count, True), prt_bytes(total_bytes, human)) else: output_manager.print_msg( -- cgit v1.2.1