From 51998dffe7ef18d314daf23e8e2ef1e2c0891d32 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Wed, 22 May 2013 18:21:33 +0200 Subject: Removed check for 0.15 version of gettext tools gettext 0.15 has been released in July 2006. --- django/core/management/commands/makemessages.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'django') diff --git a/django/core/management/commands/makemessages.py b/django/core/management/commands/makemessages.py index e693e17400..060def5d5a 100644 --- a/django/core/management/commands/makemessages.py +++ b/django/core/management/commands/makemessages.py @@ -250,18 +250,6 @@ class Command(NoArgsCommand): "if you want to enable i18n for your project or application.") check_programs('xgettext') - # We require gettext version 0.15 or newer. - output, errors, status = popen_wrapper(['xgettext', '--version']) - if status != STATUS_OK: - raise CommandError("Error running xgettext. Note that Django " - "internationalization requires GNU gettext 0.15 or newer.") - match = re.search(r'(?P\d+)\.(?P\d+)', output) - if match: - xversion = (int(match.group('major')), int(match.group('minor'))) - if xversion < (0, 15): - raise CommandError("Django internationalization requires GNU " - "gettext 0.15 or newer. You are using version %s, please " - "upgrade your gettext toolset." % match.group()) potfile = self.build_pot_file(localedir) -- cgit v1.3