Skip to content

Commit

Permalink
Merge pull request #23 from bonclay7/hotfix_failed_snap
Browse files Browse the repository at this point in the history
hotfix: failed snapshots printing
  • Loading branch information
bonclay7 authored Aug 8, 2016
2 parents cfc0fc8 + 8ee83c8 commit 864a15e
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 864a15e

Please sign in to comment.