Skip to content

Commit

Permalink
Merge pull request #689 from andrewgaul/storage-class
Browse files Browse the repository at this point in the history
Emit storage class in info subcommand
  • Loading branch information
mdomsch committed Jan 20, 2016
2 parents 076c0c9 + 8d0b000 commit d10f409
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions s3cmd
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,7 @@ def cmd_info(args):
output(u" File size: %s" % info['headers']['content-length'])
output(u" Last mod: %s" % info['headers']['last-modified'])
output(u" MIME type: %s" % info['headers'].get('content-type', 'none'))
output(u" Storage: %s" % info['headers'].get('x-amz-storage-class', 'STANDARD'))
md5 = info['headers']['etag'].strip('"\'')
try:
md5 = info['s3cmd-attrs']['md5']
Expand Down

0 comments on commit d10f409

Please sign in to comment.