mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Renamed path.cat to path.join.
This commit is contained in:
parent
c3f2a3bf93
commit
9c5c80824c
3 changed files with 5 additions and 5 deletions
|
@ -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]):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue