Kaydet (Commit) 7332b132 authored tarafından Georg Bauer's avatar Georg Bauer

fixes #1161 - added quotes to unique-messages.py


git-svn-id: http://code.djangoproject.com/svn/django/trunk@1821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst d3b85e30
...@@ -19,7 +19,7 @@ for (dirpath, dirnames, filenames) in os.walk(basedir): ...@@ -19,7 +19,7 @@ for (dirpath, dirnames, filenames) in os.walk(basedir):
if file.endswith('.po'): if file.endswith('.po'):
sys.stderr.write('processing file %s in %s\n' % (file, dirpath)) sys.stderr.write('processing file %s in %s\n' % (file, dirpath))
pf = os.path.splitext(os.path.join(dirpath, file))[0] pf = os.path.splitext(os.path.join(dirpath, file))[0]
cmd = 'msguniq %s.po' % pf cmd = 'msguniq "%s.po"' % pf
stdout = os.popen(cmd) stdout = os.popen(cmd)
msg = stdout.read() msg = stdout.read()
open('%s.po' % pf, 'w').write(msg) open('%s.po' % pf, 'w').write(msg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment