Mercurial > cpython-lru_cache-weakref
diff Tools/scripts/fixps.py @ 1106:8ea546047f01 legacy-trunk
Fix bug when reporting error
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 10 Dec 1992 00:01:24 +0000 |
| parents | 4154e98d1478 |
| children | e708f568b8b7 |
line wrap: on
line diff
--- a/Tools/scripts/fixps.py Thu Dec 10 00:00:58 1992 +0000 +++ b/Tools/scripts/fixps.py Thu Dec 10 00:01:24 1992 +0000 @@ -12,7 +12,7 @@ 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:
