# HG changeset patch # User cmlenz # Date 1199718646 0 # Node ID ca9a37eb74289e200ee5ee186fc9b8013d232805 # Parent e6fc64278d1cc07079fec06146ba41121ce495c0 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: