summaryrefslogtreecommitdiffstats
path: root/gen_web_gettext.py
diff options
context:
space:
mode:
Diffstat (limited to 'gen_web_gettext.py')
-rwxr-xr-xgen_web_gettext.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/gen_web_gettext.py b/gen_web_gettext.py
index fac5097..80186e9 100755
--- a/gen_web_gettext.py
+++ b/gen_web_gettext.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python
-# -*- coding: utf-8 -*-
#
# Copyright (C) 2009-2012 Damien Churchill <damoxc@gmail.com>
#
@@ -10,8 +9,6 @@
"""Script to parse javascript files for translation strings and generate gettext.js"""
-from __future__ import print_function, unicode_literals
-
import os
import re
@@ -119,4 +116,4 @@ if __name__ == '__main__':
print('Possible missed text for translation markup:')
for text, filenames in missed_markup.iteritems():
for filename_lineno in filenames:
- print('{0:<58} {1}'.format(':'.join(filename_lineno), text))
+ print('{:<58} {}'.format(':'.join(filename_lineno), text))