summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
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):