changeset 305:59f781f2483a

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.
author cmlenz
date Mon, 07 Jan 2008 15:10:46 +0000
parents 3a79256294ff
children 992fb11739be
files babel/messages/frontend.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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:
Copyright (C) 2012-2017 Edgewall Software