summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-12-06 18:37:53 +0000
committerGuido van Rossum <guido@python.org>2007-12-06 18:37:53 +0000
commit4b28041530ce2dc8f741d544b6f86627348de3ef (patch)
tree550684cb268bd8a1676e11d6a08da0d22faeb0c7
parentda3673e9d0321a9dc81bd471a3f03f241f1a34e4 (diff)
downloadcpython-git-4b28041530ce2dc8f741d544b6f86627348de3ef.tar.gz
Fix a last use of file() that should be open().
-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 34ce8606ef..68704dd7b9 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):