summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/combinerefs.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/combinerefs.py')
-rw-r--r--Tools/scripts/combinerefs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/scripts/combinerefs.py b/Tools/scripts/combinerefs.py
index 34ce860..68704dd 100644
--- a/Tools/scripts/combinerefs.py
+++ b/Tools/scripts/combinerefs.py
@@ -86,7 +86,8 @@ def read(fileiter, pat, whilematch):
break
def combine(fname):
- f = file(fname)
+ f = open(fname)
+
fi = iter(f)
for line in read(fi, re.compile(r'^Remaining objects:$'), False):