From 5fa38862bbfe63819bae49322e1257ed2aed6069 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 7 Apr 2000 14:34:50 +0000 Subject: Fred Gansevles : The copytree function doesn't pass the symlinks parameter in recursicve calls --- Lib/shutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.? -- cgit v0.12