1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-07 03:40:36 +00:00
This commit is contained in:
user
2025-05-19 22:14:34 +02:00
parent 20f00ee3a0
commit f007fd8fb2
3 changed files with 26 additions and 13 deletions

View File

@@ -7,6 +7,7 @@ filesystem tree for directories
import os
import fnmatch
# local imports
from dotdrop.utils import must_ignore, dir_empty
@@ -34,7 +35,6 @@ class FTreeDir:
ignore empty directory
test for ignore pattern
"""
import fnmatch
for pattern in self.dir_as_block:
if fnmatch.fnmatch(self.path, pattern):
self.log.dbg(f'dir_as_block match: {pattern} for {self.path}')