diff options
author | Guido van Rossum <guido@python.org> | 1993-04-01 20:46:40 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-04-01 20:46:40 (GMT) |
commit | d5c57e162406d0f48792172efa39437ba0401ace (patch) | |
tree | 234dcd5841b6a44588928c896d2caaacb6638edd /Tools | |
parent | 5146ea3a0a6047b062cb8d48cc40faeffc1c3889 (diff) | |
download | cpython-d5c57e162406d0f48792172efa39437ba0401ace.zip cpython-d5c57e162406d0f48792172efa39437ba0401ace.tar.gz cpython-d5c57e162406d0f48792172efa39437ba0401ace.tar.bz2 |
Microfixes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/methfix.py | 2 | ||||
-rwxr-xr-x | Tools/scripts/mkreal.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Tools/scripts/methfix.py b/Tools/scripts/methfix.py index 3d6d4f1..b7eb442 100755 --- a/Tools/scripts/methfix.py +++ b/Tools/scripts/methfix.py @@ -40,7 +40,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): diff --git a/Tools/scripts/mkreal.py b/Tools/scripts/mkreal.py index e01b35d..bc4dd13 100755 --- a/Tools/scripts/mkreal.py +++ b/Tools/scripts/mkreal.py @@ -1,4 +1,4 @@ -#! /usr/local/python +#! /usr/local/bin/python # mkreal # @@ -45,6 +45,7 @@ def mkrealdir(name): def main(): sys.stdout = sys.stderr progname = os.path.basename(sys.argv[0]) + if progname == '-c': progname = 'mkreal' args = sys.argv[1:] if not args: print 'usage:', progname, 'path ...' |