summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2013-05-22 18:21:33 +0200
committerClaude Paroz <claude@2xlibre.net>2013-05-22 18:21:33 +0200
commit51998dffe7ef18d314daf23e8e2ef1e2c0891d32 (patch)
treed6d72f3a84631cb23aa0ac7d71c6ed1dbd8b2291 /django
parentdc51ec8bc214cf60ebb99732363624c23df8005f (diff)
Removed check for 0.15 version of gettext tools
gettext 0.15 has been released in July 2006.
Diffstat (limited to 'django')
-rw-r--r--django/core/management/commands/makemessages.py12
1 files changed, 0 insertions, 12 deletions
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<major>\d+)\.(?P<minor>\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)