From 7332b13239072aa8bb8936d02732b5d7ccfffe08 Mon Sep 17 00:00:00 2001 From: Georg Bauer Date: Thu, 5 Jan 2006 14:09:22 +0000 Subject: [PATCH] fixes #1161 - added quotes to unique-messages.py git-svn-id: http://code.djangoproject.com/svn/django/trunk@1821 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/bin/unique-messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)