summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-04-01 20:46:40 (GMT)
committerGuido van Rossum <guido@python.org>1993-04-01 20:46:40 (GMT)
commitd5c57e162406d0f48792172efa39437ba0401ace (patch)
tree234dcd5841b6a44588928c896d2caaacb6638edd /Demo
parent5146ea3a0a6047b062cb8d48cc40faeffc1c3889 (diff)
downloadcpython-d5c57e162406d0f48792172efa39437ba0401ace.zip
cpython-d5c57e162406d0f48792172efa39437ba0401ace.tar.gz
cpython-d5c57e162406d0f48792172efa39437ba0401ace.tar.bz2
Microfixes
Diffstat (limited to 'Demo')
-rwxr-xr-xDemo/scripts/eqfix.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/scripts/eqfix.py b/Demo/scripts/eqfix.py
index 49e3704..74b5536 100755
--- a/Demo/scripts/eqfix.py
+++ b/Demo/scripts/eqfix.py
@@ -1,5 +1,5 @@
#! /ufs/guido/bin/sgi/python
-#! /usr/local/python
+#! /usr/local/bin/python
# Fix Python source files to use the new equality test operator, i.e.,
# if x = y: ...
@@ -42,7 +42,7 @@ rep = sys.stdout.write
def main():
bad = 0
if not sys.argv[1:]: # No arguments
- err('usage: ' + argv[0] + ' file-or-directory ...\n')
+ err('usage: ' + sys.argv[0] + ' file-or-directory ...\n')
sys.exit(2)
for arg in sys.argv[1:]:
if os.path.isdir(arg):