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/mkreal.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/mkreal.py')
-rwxr-xr-x | Tools/scripts/mkreal.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/scripts/mkreal.py b/Tools/scripts/mkreal.py index 3fd4b03..b72c2e5 100755 --- a/Tools/scripts/mkreal.py +++ b/Tools/scripts/mkreal.py @@ -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 |