summaryrefslogtreecommitdiff
path: root/django/bin
diff options
context:
space:
mode:
authorGeorg Bauer <gb@hugo.westfalen.de>2006-01-05 14:09:22 +0000
committerGeorg Bauer <gb@hugo.westfalen.de>2006-01-05 14:09:22 +0000
commit7332b13239072aa8bb8936d02732b5d7ccfffe08 (patch)
tree78da3a8c430e7fd0f29f346166c95fe62ce05f6c /django/bin
parentd3b85e30d3f36a494aca6e74a278d85800d03c85 (diff)
downloaddjango-7332b13239072aa8bb8936d02732b5d7ccfffe08.tar.gz
fixes #1161 - added quotes to unique-messages.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/bin')
-rwxr-xr-xdjango/bin/unique-messages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/bin/unique-messages.py b/django/bin/unique-messages.py
index 47d6f2d0c7..9e88b87065 100755
--- a/django/bin/unique-messages.py
+++ b/django/bin/unique-messages.py
@@ -19,7 +19,7 @@ for (dirpath, dirnames, filenames) in os.walk(basedir):
if file.endswith('.po'):
sys.stderr.write('processing file %s in %s\n' % (file, dirpath))
pf = os.path.splitext(os.path.join(dirpath, file))[0]
- cmd = 'msguniq %s.po' % pf
+ cmd = 'msguniq "%s.po"' % pf
stdout = os.popen(cmd)
msg = stdout.read()
open('%s.po' % pf, 'w').write(msg)