From 4eb95d64ea673ff75857e9a83e892c3506dc15f9 Mon Sep 17 00:00:00 2001 From: Darryl Nixon Date: Sun, 16 Jul 2023 16:18:58 -0700 Subject: [PATCH] add missing ignoredirs param --- melamine/fileops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/melamine/fileops.py b/melamine/fileops.py index 6ad2025..83afcca 100644 --- a/melamine/fileops.py +++ b/melamine/fileops.py @@ -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}))") return 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 path