summaryrefslogtreecommitdiff
path: root/django/bin
diff options
context:
space:
mode:
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)