Minor update to compilemessages utility for better print syntax

This also lets it run under python3
This commit is contained in:
Matthew Jones 2017-08-03 23:31:17 -04:00
parent 9c56a18ced
commit fc00c220eb

View File

@ -137,7 +137,7 @@ if __name__ == "__main__":
program = 'msgfmt'
program_options = ['--check-format']
for i, (dirpath, f) in enumerate(locations):
print 'processing file %s in %s\n' % (f, dirpath)
print('processing file %s in %s\n' % (f, dirpath))
po_path = os.path.join(dirpath, f)
if has_bom(po_path):
raise Exception("The %s file has a BOM (Byte Order Mark). "