diff options
author | Georg Bauer <gb@hugo.westfalen.de> | 2006-01-05 14:09:22 +0000 |
---|---|---|
committer | Georg Bauer <gb@hugo.westfalen.de> | 2006-01-05 14:09:22 +0000 |
commit | 7332b13239072aa8bb8936d02732b5d7ccfffe08 (patch) | |
tree | 78da3a8c430e7fd0f29f346166c95fe62ce05f6c /django/bin | |
parent | d3b85e30d3f36a494aca6e74a278d85800d03c85 (diff) | |
download | django-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-x | django/bin/unique-messages.py | 2 |
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) |