diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-02 17:37:15 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-02 17:37:15 -0700 |
| commit | fe995e6cbdcf2766cf0aa951c8ef4549ad27694c (patch) | |
| tree | 049678d37554ef07633ea714fe359952bf6cbdde /scripts | |
| parent | 393cdbfaa2d47c85f6764e80600de48f26f43327 (diff) | |
Fixed the remaining E302 violations int eh django package
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/manage_translations.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/manage_translations.py b/scripts/manage_translations.py index 5460eef25e..f256f7a1e7 100644 --- a/scripts/manage_translations.py +++ b/scripts/manage_translations.py @@ -27,6 +27,7 @@ from django.core.management import call_command HAVE_JS = ['admin'] + def _get_locale_dirs(include_core=True): """ Return a tuple (contrib name, absolute path) for all locale directories, @@ -44,6 +45,7 @@ def _get_locale_dirs(include_core=True): dirs.insert(0, ('core', os.path.join(os.getcwd(), 'django', 'conf', 'locale'))) return dirs + def _tx_resource_for_name(name): """ Return the Transifex resource name """ if name == 'core': @@ -51,6 +53,7 @@ def _tx_resource_for_name(name): else: return "django-core.contrib-%s" % name + def _check_diff(cat_name, base_path): """ Output the approximate number of changed/added strings in the en catalog. |
