changeset 379:a70adadca4d8

merging
author catherine@cordelia
date Fri, 28 Aug 2009 10:47:59 -0400
parents 05d2de3e7ea8 (current diff) 9d0a3ab7f573 (diff)
children fe0051d7f934
files sqlpython/sqlpython.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sqlpython/sqlpython.py	Fri Aug 28 10:46:13 2009 -0400
+++ b/sqlpython/sqlpython.py	Fri Aug 28 10:47:59 2009 -0400
@@ -320,7 +320,7 @@
                   'red':{True:'\x1b[36m',False:'\x1b[39m'},
                   'cyan':{True:'\x1b[31m',False:'\x1b[39m'},
                   'underline':{True:'\x1b[4m',False:'\x1b[24m'}}
-    colors = True
+    colors = (platform.system() != 'Windows')
     def colorize(self, val, color):
         if self.colors and (self.stdout == self.initial_stdout):
             if color not in self.colorcodes: