mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	fixes #1161 - added quotes to unique-messages.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -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) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user