# HG changeset patch # User cmlenz # Date 1189357665 0 # Node ID b6efe6a8e2ecf4e57e190bf4ca9ae4b19eea28ee # Parent d7bf15bb26ba08937e3fa038e464d496b33d95d5 Fix error in `compile_catalog` distutils command. Closes #65. diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py --- 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'))