mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Minor update to compilemessages utility for better print syntax
This also lets it run under python3
This commit is contained in:
parent
9c56a18ced
commit
fc00c220eb
@ -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). "
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user