diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-02 17:37:15 -0700 |
|---|---|---|
| committer | Jason Myers <jason@jasonamyers.com> | 2013-11-02 23:50:48 -0500 |
| commit | 0fdb692c6c94d912f17a3e2ad12413fb072d38ec (patch) | |
| tree | 08e58b879405d8d8bf2e8e873e5aee51e25d3b01 /scripts | |
| parent | 8f85e734581d3c63905b991fc82fe05e7a1df709 (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. |
