changeset 307:ca9a37eb7428

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 e6fc64278d1c
children b0ff3e4f2005
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