From: Fred Drake Date: Fri, 7 Apr 2000 14:34:50 +0000 (+0000) Subject: Fred Gansevles : X-Git-Tag: v1.6a2~90 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5fa38862bbfe63819bae49322e1257ed2aed6069;p=python Fred Gansevles : The copytree function doesn't pass the symlinks parameter in recursicve calls --- diff --git a/Lib/shutil.py b/Lib/shutil.py index 698543f78b..88abd1095c 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.?