diff --git a/Tools/scripts/combinerefs.py b/Tools/scripts/combinerefs.py index 34ce8606eff..68704dd7b9d 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):