This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author arandrea
Recipients
Date 2006-08-14.17:24:49
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=1575524

I guess I should have tested it first.  I forgot to add the
func parameter to the copytree call within copytree.

Something like this:

.try:
.    if symlinks and os.path.islink(srcname):
.        linkto = os.readlink(srcname)
.        os.symlink(linkto, dstname)
.    elif os.path.isdir(srcname):
.        copytree(srcname, dstname, symlinks, func)
.    else:
.        func(srcname, dstname)


History
Date User Action Args
2008-01-20 09:59:50adminlinkissue1540112 messages
2008-01-20 09:59:50admincreate