summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-04-07 14:34:50 (GMT)
committerFred Drake <fdrake@acm.org>2000-04-07 14:34:50 (GMT)
commit5fa38862bbfe63819bae49322e1257ed2aed6069 (patch)
treeedc9d837bbcc3d64a82cfa98056b452233146f1b /Lib
parent37d21e117f3f4f5732c7cc2d0954101d995e7dc6 (diff)
downloadcpython-5fa38862bbfe63819bae49322e1257ed2aed6069.zip
cpython-5fa38862bbfe63819bae49322e1257ed2aed6069.tar.gz
cpython-5fa38862bbfe63819bae49322e1257ed2aed6069.tar.bz2
Fred Gansevles <gansevle@cs.utwente.nl>:
The copytree function doesn't pass the symlinks parameter in recursicve calls
Diffstat (limited to 'Lib')
-rw-r--r--Lib/shutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py
index 698543f..88abd10 100644
--- 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.?