summaryrefslogtreecommitdiffstats
path: root/Lib/shutil.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-08-16 13:28:23 (GMT)
committerGuido van Rossum <guido@python.org>1991-08-16 13:28:23 (GMT)
commit784ca6c835b6e872313532b2df482671d7c68916 (patch)
treeb869d480dbabb19bdf57be6da09dda6d8ffc032b /Lib/shutil.py
parent668317db897185c0cbc2ee97d6344a08d233469c (diff)
downloadcpython-784ca6c835b6e872313532b2df482671d7c68916.zip
cpython-784ca6c835b6e872313532b2df482671d7c68916.tar.gz
cpython-784ca6c835b6e872313532b2df482671d7c68916.tar.bz2
path.cat --> join
Diffstat (limited to 'Lib/shutil.py')
-rw-r--r--Lib/shutil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py
index cf63396..d3521ec 100644
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -52,8 +52,8 @@ def copytree(src, dst):
dot_dotdot = '.', '..'
for name in names:
if name not in dot_dotdot:
- srcname = path.cat(src, name)
- dstname = path.cat(dst, name)
+ srcname = path.join(src, name)
+ dstname = path.join(dst, name)
#print 'Copying', srcname, 'to', dstname
try:
#if path.islink(srcname):