copy static files beyond symlinked directories under _static directory.

This issue caused from ref #2744
This commit is contained in:
shimizukawa 2017-08-16 15:13:15 +09:00
parent d63a678228
commit 4f0de6f49b

View File

@ -77,7 +77,7 @@ def copy_asset(source, destination, excluded=lambda path: False, context=None, r
copy_asset_file(source, destination, context, renderer)
return
for root, dirs, files in walk(source):
for root, dirs, files in walk(source, followlinks=True):
reldir = relative_path(source, root)
for dir in dirs[:]:
if excluded(posixpath.join(reldir, dir)):