use global LOG instead of local log

This commit is contained in:
Steve Strassmann
2013-05-12 21:52:07 -04:00
parent 2b7d7bcd9a
commit 1f7bf1f00a
4 changed files with 17 additions and 20 deletions

View File

@@ -28,7 +28,7 @@ def validate_po_file(filename, log):
raise SkipTest()
# Use relative paths to make output less noisy.
rfile = os.path.relpath(filename, LOCALE_DIR)
(out, err) = call(['msgfmt','-c', rfile], log=False, working_directory=LOCALE_DIR)
(out, err) = call(['msgfmt','-c', rfile], working_directory=LOCALE_DIR)
if err != '':
log.warn('\n'+err)