From 1da4160b47850ec35d5c6a1a9b91f5a768b9f30b Mon Sep 17 00:00:00 2001 From: "Morten V. Pedersen" Date: Mon, 27 May 2019 19:14:18 +0000 Subject: [PATCH] Colors were missing when file already exists --- waflib/Build.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/waflib/Build.py b/waflib/Build.py index 19cdf336..113fcf7d 100644 --- a/waflib/Build.py +++ b/waflib/Build.py @@ -1160,7 +1160,11 @@ class inst(Task.Task): # same size and identical timestamps -> make no copy if st1.st_mtime + 2 >= st2.st_mtime and st1.st_size == st2.st_size: if not self.generator.bld.progress_bar: - Logs.info('- install %s (from %s)', tgt, lbl) + + c1 = Logs.colors.NORMAL + c2 = Logs.colors.BLUE + + Logs.info('%s- install %s%s%s (from %s)', c1, c2, tgt, c1, lbl) return False if not self.generator.bld.progress_bar: