Fix a last use of file() that should be open().

This commit is contained in:
Guido van Rossum 2007-12-06 18:37:53 +00:00
parent da3673e9d0
commit 4b28041530
1 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,8 @@ def read(fileiter, pat, whilematch):
break break
def combine(fname): def combine(fname):
f = file(fname) f = open(fname)
fi = iter(f) fi = iter(f)
for line in read(fi, re.compile(r'^Remaining objects:$'), False): for line in read(fi, re.compile(r'^Remaining objects:$'), False):