Fix a last use of file() that should be open().
This commit is contained in:
parent
da3673e9d0
commit
4b28041530
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue