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
|
@ -9,7 +9,7 @@ import posix
|
|||
import path
|
||||
from stat import *
|
||||
|
||||
cat = path.cat
|
||||
join = path.join
|
||||
|
||||
error = 'mkreal error'
|
||||
|
||||
|
@ -37,11 +37,11 @@ def mkrealdir(name):
|
|||
posix.unlink(name)
|
||||
posix.mkdir(name, mode)
|
||||
posix.chmod(name, mode)
|
||||
linkto = cat('..', linkto)
|
||||
linkto = join('..', linkto)
|
||||
#
|
||||
for file in files:
|
||||
if file not in ('.', '..'):
|
||||
posix.symlink(cat(linkto, file), cat(name, file))
|
||||
posix.symlink(join(linkto, file), join(name, file))
|
||||
|
||||
def main():
|
||||
sys.stdout = sys.stderr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue