Skip to content

Commit

Permalink
Emit archive ID when uploading a single file
Browse files Browse the repository at this point in the history
Previously glacier-cmd truncated output with headers over 100
characters which elided the 138 character archive ID.  Fixes #163.
  • Loading branch information
gaul committed Feb 11, 2015
1 parent cd64261 commit 1b93f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glacier/glacier.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def output_headers(headers, output):
if output == 'print':
table = PrettyTable(["Header", "Value"])
for row in rows:
if len(str(row[1])) < 100:
if len(str(row[1])) <= 138:
table.add_row(row)

print table
Expand Down

0 comments on commit 1b93f1e

Please sign in to comment.