Skip to content

Commit

Permalink
hotfix: failed snapshots printing
Browse files Browse the repository at this point in the history
  • Loading branch information
bonclay7 committed Aug 8, 2016
1 parent cfc0fc8 commit 8ee83c8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions amicleaner/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,11 +323,10 @@ def print_failed_snapshots(failed_snapshots):

""" Print failed snapshots """

snap_table = PrettyTable()
snap_table.field_names = ["Failed Snapshots"]
snap_table = PrettyTable(["Failed Snapshots"])

for failed_snap in failed_snapshots:
snap_table.add_row(failed_snap)
snap_table.add_row([failed_snap])
print "\nFailed Snapshots:"
print snap_table

Expand Down

0 comments on commit 8ee83c8

Please sign in to comment.