Renamed path.cat to path.join.

This commit is contained in:
Guido van Rossum 1991-07-01 18:22:34 +00:00
parent c3f2a3bf93
commit 9c5c80824c
3 changed files with 5 additions and 5 deletions

View file

@ -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