mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Ensure we ignore __pycache__ PEP 3174 dirs in a few more places.
This commit is contained in:
@@ -138,7 +138,7 @@ class TemplateCommand(BaseCommand):
|
||||
os.mkdir(target_dir)
|
||||
|
||||
for dirname in dirs[:]:
|
||||
if dirname.startswith('.'):
|
||||
if dirname.startswith('.') or dirname == '__pycache__':
|
||||
dirs.remove(dirname)
|
||||
|
||||
for filename in files:
|
||||
|
||||
Reference in New Issue
Block a user