summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/distutils/log.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/numpy/distutils/log.py b/numpy/distutils/log.py
index 403df0ac1..5c68a81ad 100644
--- a/numpy/distutils/log.py
+++ b/numpy/distutils/log.py
@@ -18,9 +18,13 @@ class Log(old_Log):
def _log(self, level, msg, args):
if level >= self.threshold:
if args:
- print _global_color_map[level](msg % _fix_args(args))
- else:
- print _global_color_map[level](msg)
+ msg = msg % _fix_args(args)
+ if 0:
+ if msg.startswith('copying ') and msg.find(' -> ') != -1:
+ return
+ if msg.startswith('byte-compiling '):
+ return
+ print _global_color_map[level](msg)
sys.stdout.flush()
def good(self, msg, *args):