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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5fa38862bbfe63819bae49322e1257ed2aed6069;p=thirdparty%2FPython%2Fcpython.git 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 698543f78b69..88abd1095c08 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.?