All python file(...) converted to open(...)

This commit is contained in:
bsongis
2012-08-27 20:26:21 +00:00
parent 2fac92a843
commit f47692a258
4 changed files with 9 additions and 9 deletions
+5 -5
View File
@@ -4,11 +4,11 @@ import sys
filename = sys.argv[1]
print filename
fr = file(filename)
fw = file(filename+".new", "w")
ew = file(filename+".en", "w")
hw = file(filename+".stringsh", "w")
cw = file(filename+".stringsc", "w")
fr = open(filename)
fw = open(filename+".new", "w")
ew = open(filename+".en", "w")
hw = open(filename+".stringsh", "w")
cw = open(filename+".stringsc", "w")
replacements = {}