Make it compatible with python 3.x

parent cc6da67d
...@@ -75,7 +75,7 @@ with open(sys.argv[1]) as fp: ...@@ -75,7 +75,7 @@ with open(sys.argv[1]) as fp:
for t in tools: for t in tools:
tools[t]["output"]+=footer tools[t]["output"]+=footer
print "writing", tools[t]["file"] print("writing", tools[t]["file"])
f = open(tools[t]["file"], "w") f = open(tools[t]["file"], "w")
f.write(tools[t]["output"]) f.write(tools[t]["output"])
f.close() f.close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment