Removed unnecessary print in the blame module.

This print should only be enabled in any "interactive format", such as the
terminal (text) output.
This commit is contained in:
Adam Waldenberg 2013-09-17 11:56:48 +02:00
parent e263982806
commit 791e9e39dd
1 changed files with 3 additions and 1 deletions

View File

@ -163,9 +163,11 @@ BLAME_INFO_TEXT = N_("Below are the number of rows from each author that have su
class BlameOutput(Outputable):
def __init__(self, hard):
if sys.stdout.isatty() and format.is_interactive_format():
print("")
self.hard = hard
self.changes = changes.get(hard)
print("")
get(self.hard, self.changes)
Outputable.__init__(self)