Changeset: 749878e91053 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=749878e91053
Modified Files:
        testing/Mtest.py.in
Branch: Oct2012
Log Message:

We can't color output in the cmd window on Windows.
At least not using escape sequences as on Linux.


diffs (12 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -58,7 +58,7 @@ quiet = False
 
 releaserun = False
 
-if os.isatty(sys.stdout.fileno()):
+if os.name != 'nt' and os.isatty(sys.stdout.fileno()):
     # color output a little
     RED = '\033[1;31m'
     GREEN = '\033[0;32m'
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to