Skip to content

Commit b100f3a

Browse files
Update scripts/import_profiler/profiler.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 85f4a4f commit b100f3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/import_profiler/profiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def clean_bytecode():
1919
count = 0
2020
# Walk the directory avoiding hidden directories (e.g. .git, .venv, .nox)
2121
for root, dirs, files in os.walk('.'):
22-
dirs[:] = [d for d in dirs if not d.startswith('.') or d == '.venv-profiler']
22+
dirs[:] = [d for d in dirs if not d.startswith('.')]
2323
if '__pycache__' in dirs:
2424
shutil.rmtree(os.path.join(root, '__pycache__'))
2525
dirs.remove('__pycache__')

0 commit comments

Comments
 (0)