]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
we must mean options.locale here
authorPhilip Jenvey <pjenvey@underboss.org>
Fri, 28 Sep 2007 04:44:55 +0000 (04:44 +0000)
committerPhilip Jenvey <pjenvey@underboss.org>
Fri, 28 Sep 2007 04:44:55 +0000 (04:44 +0000)
babel/messages/frontend.py

index b54cd8f86daa89fa745a2eb8009ee390ac3afc51..cac9b8949e46e3c4110327401b045b1c0f03a355 100755 (executable)
@@ -717,7 +717,7 @@ class CommandLineInterface(object):
                 if not options.directory:
                     parser.error('you must specify either the input file or '
                                  'the base directory')
-                mo_files.append(os.path.join(options.directory, locale,
+                mo_files.append(os.path.join(options.directory, options.locale,
                                              'LC_MESSAGES',
                                              options.domain + '.mo'))
         if not po_files: