[jhbuild] fixed handling of pretty_print=False
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] fixed handling of pretty_print=False
- Date: Wed, 22 Feb 2012 15:59:31 +0000 (UTC)
commit c5bc8e2d0d0ce347290f20b4dcbf5868bea02eb6
Author: Marcin Wojdyr <wojdyr gmail com>
Date: Sat Feb 18 13:56:23 2012 +0000
fixed handling of pretty_print=False
reverts part of 2295743a12375210a3e1effecaac76248e9a293b
https://bugzilla.gnome.org/show_bug.cgi?id=670349
jhbuild/frontends/terminal.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/jhbuild/frontends/terminal.py b/jhbuild/frontends/terminal.py
index d8e2e10..197a3b0 100644
--- a/jhbuild/frontends/terminal.py
+++ b/jhbuild/frontends/terminal.py
@@ -162,6 +162,10 @@ class TerminalBuildScript(buildscript.BuildScript):
else:
print_args['command'] = ' '.join(command)
+ # get rid of hint if pretty printing is disabled.
+ if not self.config.pretty_print:
+ hint = None
+
if not self.config.quiet_mode:
if self.config.print_command_pattern:
try:
@@ -213,10 +217,6 @@ class TerminalBuildScript(buildscript.BuildScript):
return
if line[-1] == '\n': line = line[:-1]
- if not self.config.pretty_print:
- hint = None
- print line
- return
if line.startswith('C '):
print '%s%s%s' % (t_colour[12], line, t_reset)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]