From 605952fe92c91be4882e6be2b1747ae0eba9e887 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Sat, 11 Jun 2016 22:26:34 +0200 Subject: [PATCH] Remove redundant warnings --- waflib/Task.py | 2 +- waflib/Tools/c_preproc.py | 2 -- waflib/Tools/d_scan.py | 3 --- waflib/Tools/fc.py | 2 -- waflib/Tools/winres.py | 2 -- 5 files changed, 1 insertion(+), 10 deletions(-) diff --git a/waflib/Task.py b/waflib/Task.py index 4a192f94..67909700 100644 --- a/waflib/Task.py +++ b/waflib/Task.py @@ -715,7 +715,7 @@ class Task(TaskBase): # no previous run or the signature of the dependencies has changed, rescan the dependencies (bld.node_deps[key], bld.raw_deps[key]) = self.scan() if Logs.verbose: - Logs.debug('deps: scanner for %s returned %s %s', self, bld.node_deps[key], bld.raw_deps[key]) + Logs.debug('deps: scanner for %s: %r; unresolved: %r', self, bld.node_deps[key], bld.raw_deps[key]) # recompute the signature and return it try: diff --git a/waflib/Tools/c_preproc.py b/waflib/Tools/c_preproc.py index 606509b4..62e0eee0 100644 --- a/waflib/Tools/c_preproc.py +++ b/waflib/Tools/c_preproc.py @@ -1040,7 +1040,5 @@ def scan(task): tmp = c_parser(nodepaths) tmp.start(task.inputs[0], task.env) - if Logs.verbose: - Logs.debug('deps: deps for %r: %r; unresolved %r', task.inputs, tmp.nodes, tmp.names) return (tmp.nodes, tmp.names) diff --git a/waflib/Tools/d_scan.py b/waflib/Tools/d_scan.py index 9c9bb46a..0943c027 100644 --- a/waflib/Tools/d_scan.py +++ b/waflib/Tools/d_scan.py @@ -202,8 +202,5 @@ def scan(self): gruik.start(node) nodes = gruik.nodes names = gruik.names - - if Logs.verbose: - Logs.debug('deps: deps for %s: %r; unresolved %r', str(node), nodes, names) return (nodes, names) diff --git a/waflib/Tools/fc.py b/waflib/Tools/fc.py index 212ab542..834b3a3b 100644 --- a/waflib/Tools/fc.py +++ b/waflib/Tools/fc.py @@ -58,8 +58,6 @@ class fc(Task.Task): tmp = fc_scan.fortran_parser(self.generator.includes_nodes) tmp.task = self tmp.start(self.inputs[0]) - if Logs.verbose: - Logs.debug('deps: deps for %r: %r; unresolved %r', self.inputs, tmp.nodes, tmp.names) return (tmp.nodes, tmp.names) def runnable_status(self): diff --git a/waflib/Tools/winres.py b/waflib/Tools/winres.py index d71b77c1..19336c4a 100644 --- a/waflib/Tools/winres.py +++ b/waflib/Tools/winres.py @@ -53,8 +53,6 @@ class winrc(Task.Task): def scan(self): tmp = rc_parser(self.generator.includes_nodes) tmp.start(self.inputs[0], self.env) - if Logs.verbose: - Logs.debug('deps: deps for %s: %r; unresolved %r', self.inputs, tmp.nodes, tmp.names) return (tmp.nodes, tmp.names) def configure(conf):