mirror of
https://github.com/DarrylNixon/melamine.git
synced 2024-04-22 06:27:20 -07:00
add missing ignoredirs param
This commit is contained in:
parent
23a0e255b2
commit
4eb95d64ea
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ async def mount_bound_rglob(path: AsyncPath, mount: AsyncPath, pattern: str, ign
|
||||||
logger.info(f"Skipping differently mounted subdir: {path} (wanted {mount}))")
|
logger.info(f"Skipping differently mounted subdir: {path} (wanted {mount}))")
|
||||||
return
|
return
|
||||||
async for subpath in path.glob(pattern):
|
async for subpath in path.glob(pattern):
|
||||||
async for subitem in mount_bound_rglob(subpath, mount, pattern):
|
async for subitem in mount_bound_rglob(subpath, mount, pattern, ignoredirs):
|
||||||
yield subitem
|
yield subitem
|
||||||
yield path
|
yield path
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue