diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2012-10-06 18:40:58 -0300 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2012-10-06 18:40:58 -0300 |
| commit | 2100da9dcdba7a8bc18f6180fd7e61640319b48a (patch) | |
| tree | 9619385bcabee43cfe443de22e144ddfadc7b870 /django/core/management/templates.py | |
| parent | 69035b0b1c6e3bd4569070bf0f0c774def397f0d (diff) | |
Ensure we ignore __pycache__ PEP 3174 dirs in a few more places.
Diffstat (limited to 'django/core/management/templates.py')
| -rw-r--r-- | django/core/management/templates.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management/templates.py b/django/core/management/templates.py index aa65593e9c..d34a0deb7e 100644 --- a/django/core/management/templates.py +++ b/django/core/management/templates.py @@ -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: |
