#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
""" This module parses lib/languages and prints it as a python
dictionary, ready to use by other python modules"""
+from __future__ import print_function
import pprint
def parse_line(line):
lang[tmp[0]] = tmp[1:]
- print "# This file is generated by generate_incoding_info.py from lib/languages file."
- print "# Do not change this file directly."
- print
- print "lang = ",
+ print ("# This file is generated by generate_incoding_info.py from lib/languages file.")
+ print ("# Do not change this file directly.")
+ print ()
+ print ("lang = ", end = " ")
pprint.pprint(lang)