projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37d21e1
)
Fred Gansevles <gansevle@cs.utwente.nl>:
author
Fred Drake
<fdrake@acm.org>
Fri, 7 Apr 2000 14:34:50 +0000
(14:34 +0000)
committer
Fred Drake
<fdrake@acm.org>
Fri, 7 Apr 2000 14:34:50 +0000
(14:34 +0000)
The copytree function doesn't pass the symlinks parameter in recursicve
calls
Lib/shutil.py
patch
|
blob
|
history
diff --git
a/Lib/shutil.py
b/Lib/shutil.py
index 698543f78b695025464770f9cdd3256a15d72df4..88abd1095c08356f1ef71c6eb8ab69afee3c9247 100644
(file)
--- a/
Lib/shutil.py
+++ b/
Lib/shutil.py
@@
-88,7
+88,7
@@
def copytree(src, dst, symlinks=0):
linkto = os.readlink(srcname)
os.symlink(linkto, dstname)
elif os.path.isdir(srcname):
- copytree(srcname, dstname)
+ copytree(srcname, dstname
, symlinks
)
else:
copy2(srcname, dstname)
# XXX What about devices, sockets etc.?