mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Minor update to compilemessages utility for better print syntax
This also lets it run under python3
This commit is contained in:
@@ -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). "
|
||||
|
||||
Reference in New Issue
Block a user