diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-03-30 12:11:05 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-03-30 12:11:05 -0700 |
| commit | 778ce245dd466bce1b19f89e52cf9ed8f1b46513 (patch) | |
| tree | 2de2ad5574c99a5918eb35d9bbb6d7c4fdd86ed7 /scripts | |
| parent | 92dbf342868e68dfe60569c60dd5aa5925194221 (diff) | |
Corrected many style guide violations that the newest version of flake8 catches
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/manage_translations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/manage_translations.py b/scripts/manage_translations.py index 078cc7f9bb..4b7f856b2d 100644 --- a/scripts/manage_translations.py +++ b/scripts/manage_translations.py @@ -115,7 +115,7 @@ def lang_stats(resources=None, languages=None): print("\nShowing translations stats for '%s':" % name) langs = sorted([d for d in os.listdir(dir_) if not d.startswith('_')]) for lang in langs: - if languages and not lang in languages: + if languages and lang not in languages: continue # TODO: merge first with the latest en catalog p = Popen("msgfmt -vc -o /dev/null %(path)s/%(lang)s/LC_MESSAGES/django%(ext)s.po" % { |
