diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-05-12 08:52:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-12 08:52:23 +0200 |
| commit | 0668164b4ac93a5be79f5b87fae83c657124d9ab (patch) | |
| tree | 71c08a5331f99515fbc859484b61d452a045dbb3 /django/core/management/commands/compilemessages.py | |
| parent | e6ec76d2455d0fd57ad766acd3714538b24a8989 (diff) | |
Fixed E128, E741 flake8 warnings.
Diffstat (limited to 'django/core/management/commands/compilemessages.py')
| -rw-r--r-- | django/core/management/commands/compilemessages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management/commands/compilemessages.py b/django/core/management/commands/compilemessages.py index 42d723962f..282ce01ca2 100644 --- a/django/core/management/commands/compilemessages.py +++ b/django/core/management/commands/compilemessages.py @@ -101,7 +101,7 @@ class Command(BaseCommand): self.has_errors = False for basedir in basedirs: if locales: - dirs = [os.path.join(basedir, l, 'LC_MESSAGES') for l in locales] + dirs = [os.path.join(basedir, locale, 'LC_MESSAGES') for locale in locales] else: dirs = [basedir] locations = [] |
