scanner: don't warn about ignored files

This commit is contained in:
Daniel Martí 2015-11-12 20:02:40 +01:00
parent 23b7f544c1
commit b84688af7a

View file

@ -117,6 +117,8 @@ def scan_source(build_dir, root_dir, thisbuild):
return 0 return 0
def warnproblem(what, fd): def warnproblem(what, fd):
if toignore(fd):
return
logging.warn('Found %s at %s' % (what, fd)) logging.warn('Found %s at %s' % (what, fd))
def handleproblem(what, fd, fp): def handleproblem(what, fd, fp):