Switch to python3

This commit is contained in:
Eliott Teissonniere 2018-02-24 20:45:04 +01:00
parent f7bf0c6b3e
commit 8f9f4ba6a2

View file

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
import os
base = os.path.dirname(os.path.realpath(__file__))
@ -25,7 +25,7 @@ for line in lines:
code = "map[string]string {\n"
for prefix, vendor in m.iteritems():
for prefix, vendor in m.items():
code += " \"%s\": \"%s\",\n" % ( prefix, vendor )
code += "}\n"