]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Fix error in `compile_catalog` distutils command. Closes #65.
authorChristopher Lenz <cmlenz@gmail.com>
Sun, 9 Sep 2007 17:07:45 +0000 (17:07 +0000)
committerChristopher Lenz <cmlenz@gmail.com>
Sun, 9 Sep 2007 17:07:45 +0000 (17:07 +0000)
babel/messages/frontend.py

index 994effd9b689063aa72ef6b984307eb8dfc3b173..b54cd8f86daa89fa745a2eb8009ee390ac3afc51 100755 (executable)
@@ -127,7 +127,7 @@ class compile_catalog(Command):
             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'))