summaryrefslogtreecommitdiff
path: root/django/bin
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-01-27 15:49:50 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-01-27 15:49:50 +0000
commite35655081f105c727d6d57db75ae1b99aa22b60d (patch)
tree65890f1f0729ea7bbfeb7977f01fd7b86818f6d2 /django/bin
parent23d2be171447bef6f0b30686ffe5324b646d3fb6 (diff)
downloaddjango-e35655081f105c727d6d57db75ae1b99aa22b60d.tar.gz
Fixed #1244 -- Renamed templateize to templatize in django.utils.translation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/bin')
-rwxr-xr-xdjango/bin/make-messages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/bin/make-messages.py b/django/bin/make-messages.py
index 600799858f..5c74faecbb 100755
--- a/django/bin/make-messages.py
+++ b/django/bin/make-messages.py
@@ -1,6 +1,6 @@
#!/usr/bin/python
-from django.utils.translation import templateize
+from django.utils.translation import templatize
import re
import os
import sys
@@ -96,7 +96,7 @@ def make_messages():
thefile = file
if file.endswith('.html'):
src = open(os.path.join(dirpath, file), "rb").read()
- open(os.path.join(dirpath, '%s.py' % file), "wb").write(templateize(src))
+ open(os.path.join(dirpath, '%s.py' % file), "wb").write(templatize(src))
thefile = '%s.py' % file
if verbose: sys.stdout.write('processing file %s in %s\n' % (file, dirpath))
cmd = 'xgettext %s -d %s -L Python --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy -o - "%s"' % (