From 4b28041530ce2dc8f741d544b6f86627348de3ef Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 6 Dec 2007 18:37:53 +0000 Subject: Fix a last use of file() that should be open(). --- Tools/scripts/combinerefs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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): -- cgit v0.12