changeset 305:22596a99e897 trunk

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 629e5e38f05d
children 4e59524b0824
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