Properly use logging.warn in some places

This commit is contained in:
Daniel Martí 2014-03-18 08:22:36 +01:00
parent 5d6baedbc9
commit 945d8b126f
2 changed files with 3 additions and 3 deletions

View file

@ -1186,7 +1186,7 @@ def scan_source(build_dir, root_dir, thisbuild):
problems.append('Found %s at %s' % (what, fd))
def warnproblem(what, fd, fp):
logging.info('Warning: Found %s at %s' % (what, fd))
logging.warn('Found %s at %s' % (what, fd))
def insidedir(path, dirname):
return path.endswith('/%s' % dirname) or '/%s/' % dirname in path