remove comments

This commit is contained in:
Robert Guss
2025-04-29 15:42:48 -04:00
parent 92251b2a53
commit 0a75de07a4
-2
View File
@@ -83,7 +83,6 @@ def crawl_local_files(directory, include_patterns=None, exclude_patterns=None, m
excluded = True excluded = True
break break
# --- Inclusion Check (remains the same) ---
included = False included = False
if include_patterns: if include_patterns:
for pattern in include_patterns: for pattern in include_patterns:
@@ -97,7 +96,6 @@ def crawl_local_files(directory, include_patterns=None, exclude_patterns=None, m
# Skip if not included or if excluded (by either method) # Skip if not included or if excluded (by either method)
if not included or excluded: if not included or excluded:
continue continue
# --- End Exclusion/Inclusion Logic ---
# Check file size # Check file size
if max_file_size and os.path.getsize(filepath) > max_file_size: if max_file_size and os.path.getsize(filepath) > max_file_size: