diff options
author | Guido van Rossum <guido@python.org> | 1991-07-01 18:22:34 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-07-01 18:22:34 (GMT) |
commit | 9c5c80824c0e1b60972e33fcfdfdca20b082df9e (patch) | |
tree | 0bbe4d3299e37f8a670d31dacdc7da0f7e087421 /Tools/scripts/which.py | |
parent | c3f2a3bf93a851686c6690f8ffac09102620493a (diff) | |
download | cpython-9c5c80824c0e1b60972e33fcfdfdca20b082df9e.zip cpython-9c5c80824c0e1b60972e33fcfdfdca20b082df9e.tar.gz cpython-9c5c80824c0e1b60972e33fcfdfdca20b082df9e.tar.bz2 |
Renamed path.cat to path.join.
Diffstat (limited to 'Tools/scripts/which.py')
-rwxr-xr-x | Tools/scripts/which.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/which.py b/Tools/scripts/which.py index b9b888b..b36c5ca 100755 --- a/Tools/scripts/which.py +++ b/Tools/scripts/which.py @@ -16,7 +16,7 @@ sts = 0 for prog in sys.argv[1:]: ident = () for dir in pathlist: - file = path.cat(dir, prog) + file = path.join(dir, prog) try: st = posix.stat(file) if S_ISREG(st[ST_MODE]): |