summaryrefslogtreecommitdiff
path: root/swiftclient/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'swiftclient/shell.py')
-rwxr-xr-xswiftclient/shell.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/swiftclient/shell.py b/swiftclient/shell.py
index fed0ef9..6da9d66 100755
--- a/swiftclient/shell.py
+++ b/swiftclient/shell.py
@@ -549,10 +549,11 @@ def st_list(parser, args, output_manager, return_parser=False):
datestamp = strftime('%Y-%m-%d %H:%M:%S', utc)
except TypeError:
datestamp = '????-??-?? ??:??:??'
+ storage_policy = meta.get('x-storage-policy', '???')
if not options['totals']:
output_manager.print_msg(
- "%12s %s %s %s", count, byte_str,
- datestamp, item_name)
+ "%12s %s %s %-15s %s", count, byte_str,
+ datestamp, storage_policy, item_name)
else: # list container contents
subdir = item.get('subdir')
content_type = item.get('content_type')