diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2010-10-10 16:45:06 +0000 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2010-10-10 16:45:06 +0000 |
| commit | 46812b4c2bdbfd791af18be066a2fa60718a3a97 (patch) | |
| tree | 836d74972cdf491d996a514986443e2741dfed8f /tests | |
| parent | fee4aa31d7c8b08b58dab46c502e3c736d845539 (diff) | |
[1.2.X] Fixed #6073 -- Made compilemessages 18n management command reject PO files with BOM.
Backport of [14125] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/makemessages/tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/regressiontests/makemessages/tests.py b/tests/regressiontests/makemessages/tests.py index 5798e671b0..c3be2178e4 100644 --- a/tests/regressiontests/makemessages/tests.py +++ b/tests/regressiontests/makemessages/tests.py @@ -38,3 +38,6 @@ if xgettext_cmd: if xversion >= (0, 15): from extraction import * del p + +if find_command('msgfmt'): + from compilation import * |
