From 6ed66ce90b3e27da0a865a3c3ff3292c4af1f5f0 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Tue, 15 Dec 2020 11:06:05 +0100 Subject: [PATCH] Reduce wafcache verbosity on cleanup operations --- waflib/Tools/wafcache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/waflib/Tools/wafcache.py b/waflib/Tools/wafcache.py index 5303b9f1..83e5d7a5 100644 --- a/waflib/Tools/wafcache.py +++ b/waflib/Tools/wafcache.py @@ -378,8 +378,8 @@ def lru_evict(): try: fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB) except EnvironmentError: - sys.stderr.write('another process is running!\n') - pass + if Logs.verbose: + Logs.debug('wafcache: another cleaning process is running') else: # now dow the actual cleanup lru_trim()