Skip to content

Commit

Permalink
Merge pull request #1634 from OCA/17.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/server-tools (17.0)
  • Loading branch information
bt-admin authored Oct 12, 2024
2 parents 85c8e28 + 6bc276d commit d3d2a41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module_analysis/models/ir_module_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def _get_files_to_analyse(
if not path:
return res
for root, _, files in os.walk(path, followlinks=True):
if set(Path(root).parts) & set(exclude_directories):
if set(Path(root).relative_to(path).parts) & set(exclude_directories):
continue
for name in files:
if name in exclude_files:
Expand Down

0 comments on commit d3d2a41

Please sign in to comment.