changeset 288:b6efe6a8e2ec trunk

Fix error in `compile_catalog` distutils command. Closes #65.
author cmlenz
date Sun, 09 Sep 2007 17:07:45 +0000
parents d7bf15bb26ba
children 4f48bc780538
files babel/messages/frontend.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/babel/messages/frontend.py
+++ b/babel/messages/frontend.py
@@ -127,7 +127,7 @@
             if self.output_file:
                 mo_files.append(self.output_file)
             else:
-                mo_files.append(os.path.join(self.directory, locale,
+                mo_files.append(os.path.join(self.directory, self.locale,
                                              'LC_MESSAGES',
                                              self.domain + '.mo'))
 
Copyright (C) 2012-2017 Edgewall Software