mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
path.cat --> join
This commit is contained in:
parent
668317db89
commit
784ca6c835
6 changed files with 14 additions and 14 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue