Skip to content

Commit

Permalink
Remove duplicated output
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyX committed Jul 21, 2014
1 parent d7b9555 commit 78bf968
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions integration/dnf/plugins/tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def _print_output(out):
print " " + _("nothing_to_restart")
return

# First line is _("you_should_restart")
# Last value is blank line
for line in out.split('\n')[:-1]:
print " " + line
for line in out.split('\n')[1:-1]:
print line

0 comments on commit 78bf968

Please sign in to comment.