From 248aee16066b2a336f16c844580cf043d853874b Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Wed, 16 Jan 2013 16:21:47 -0300 Subject: Modified makemessages so it creates .pot files once per invocation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It creates a `locale/django.pot` file once instead of one `locale//django.pot` file for every locale involved. Thanks Michal Čihař for the report and patch. --- tests/regressiontests/i18n/commands/extraction.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/regressiontests/i18n/commands/extraction.py b/tests/regressiontests/i18n/commands/extraction.py index bd2b84a952..6a8ebc7670 100644 --- a/tests/regressiontests/i18n/commands/extraction.py +++ b/tests/regressiontests/i18n/commands/extraction.py @@ -297,8 +297,9 @@ class NoLocationExtractorTests(ExtractorTests): class KeepPotFileExtractorTests(ExtractorTests): + POT_FILE='locale/django.pot' + def setUp(self): - self.POT_FILE = self.PO_FILE + 't' super(KeepPotFileExtractorTests, self).setUp() def tearDown(self): -- cgit v1.3