[jhbuild] terminal: Disable pretty printing on Windows by default
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] terminal: Disable pretty printing on Windows by default
- Date: Wed, 22 Feb 2012 16:32:01 +0000 (UTC)
commit 422588db16d8e8b1f5d18717b9cb4c8f30b7b14d
Author: Colin Walters <walters verbum org>
Date: Wed Feb 22 11:01:22 2012 -0500
terminal: Disable pretty printing on Windows by default
It doesn't work due to some select() failure, and honestly jhbuild's
control of subprocesses and output is so totally broken I'd rather
just band aid this and move on with my replacement project.
https://bugzilla.gnome.org/show_bug.cgi?id=670349
jhbuild/frontends/terminal.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/frontends/terminal.py b/jhbuild/frontends/terminal.py
index 197a3b0..49a73c2 100644
--- a/jhbuild/frontends/terminal.py
+++ b/jhbuild/frontends/terminal.py
@@ -165,6 +165,10 @@ class TerminalBuildScript(buildscript.BuildScript):
# get rid of hint if pretty printing is disabled.
if not self.config.pretty_print:
hint = None
+ elif os.name == 'nt':
+ # pretty print also doesn't work on Windows;
+ # see https://bugzilla.gnome.org/show_bug.cgi?id=670349
+ hint = None
if not self.config.quiet_mode:
if self.config.print_command_pattern:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]