diff options
author | Fred Drake <fdrake@acm.org> | 2000-04-07 14:34:50 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-04-07 14:34:50 (GMT) |
commit | 5fa38862bbfe63819bae49322e1257ed2aed6069 (patch) | |
tree | edc9d837bbcc3d64a82cfa98056b452233146f1b /Lib/shutil.py | |
parent | 37d21e117f3f4f5732c7cc2d0954101d995e7dc6 (diff) | |
download | cpython-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/shutil.py')
-rw-r--r-- | Lib/shutil.py | 2 |
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.? |