summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/fixps.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-12-10 00:01:24 (GMT)
committerGuido van Rossum <guido@python.org>1992-12-10 00:01:24 (GMT)
commitcf5dd9cbfda918b417a17d4413b7d099d3f47aaa (patch)
tree697f168b76409e5f3f90f3dedb7965b7f581beef /Tools/scripts/fixps.py
parent15f27fb6ea2e0c3e0f7bf361cb9fd2db729bb254 (diff)
downloadcpython-cf5dd9cbfda918b417a17d4413b7d099d3f47aaa.zip
cpython-cf5dd9cbfda918b417a17d4413b7d099d3f47aaa.tar.gz
cpython-cf5dd9cbfda918b417a17d4413b7d099d3f47aaa.tar.bz2
Fix bug when reporting error
Diffstat (limited to 'Tools/scripts/fixps.py')
-rwxr-xr-xTools/scripts/fixps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/fixps.py b/Tools/scripts/fixps.py
index c5e4cb3..3238c49 100755
--- a/Tools/scripts/fixps.py
+++ b/Tools/scripts/fixps.py
@@ -12,7 +12,7 @@ def main():
try:
f = open(file, 'r+')
except IOError:
- print f, ': can\'t open for update'
+ print file, ': can\'t open for update'
continue
line = f.readline()
if regex.match('^#! */usr/local/python', line) < 0: