# HG changeset patch # User cmlenz # Date 1199718646 0 # Node ID 22596a99e89726b68c42308f8c9de253a0eece4e # Parent 629e5e38f05deeac05c5e12c66cc92553d819a80 Fixed bug where the commandline interface to the compile catalog command actually used the output file for the input file option. Thanks to mitsuhiko for reporting this. diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py --- a/babel/messages/frontend.py +++ b/babel/messages/frontend.py @@ -713,7 +713,7 @@ 'LC_MESSAGES', options.domain + '.mo')) else: - po_files.append(options.output_file) + po_files.append(options.input_file) if options.output_file: mo_files.append(options.output_file) else: