Subject: [jhbuild] terminal: Disable pretty printing on Windows by default
commit 422588db16d8e8b1f5d18717b9cb4c8f30b7b14d
Author: Colin Walters <walters@xxxxxxxxxx>
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:
_______________________________________________
commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.

(C)2011 mailinglist-archive.com