# HG changeset patch # User cmlenz # Date 1199718646 0 # Node ID 59f781f2483a2d0ac873c2366a53862f1b56b4f7 # Parent 3a79256294ffffad62c38aaaf288f411a9e51935 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: