From fc00c220eb1c3de0ff45bc7ca4041aa5bfd77ad8 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Thu, 3 Aug 2017 23:31:17 -0400 Subject: [PATCH] Minor update to compilemessages utility for better print syntax This also lets it run under python3 --- tools/scripts/compilemessages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/scripts/compilemessages.py b/tools/scripts/compilemessages.py index 3714767bfa..36c68a8269 100644 --- a/tools/scripts/compilemessages.py +++ b/tools/scripts/compilemessages.py @@ -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). "