Skip to content

Commit 8d0c1f7

Browse files
committed
Emit archive ID when uploading a single file
Previously glacier-cmd truncated output with headers over 100 characters which elided the 138 character archive ID. Fixed #163.
1 parent cd64261 commit 8d0c1f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glacier/glacier.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def output_headers(headers, output):
3434
if output == 'print':
3535
table = PrettyTable(["Header", "Value"])
3636
for row in rows:
37-
if len(str(row[1])) < 100:
37+
if len(str(row[1])) <= 138:
3838
table.add_row(row)
3939

4040
print table

0 commit comments

Comments
 (0)