changeset 291:49b1e65bc8bb stable

Ported [318] to 0.9.x branch.
author cmlenz
date Sun, 09 Sep 2007 18:05:41 +0000
parents f040cbe565b2
children 270e771854d8
files 0.9.x/babel/messages/frontend.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/0.9.x/babel/messages/frontend.py
+++ b/0.9.x/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