From ca2f29cba122b3f6d64ea13669eb6210f0e457b5 Mon Sep 17 00:00:00 2001 From: Hyunjun Kim Date: Fri, 16 Aug 2013 20:08:23 +0900 Subject: [PATCH] Fixed typos on cli errors. --- babel/messages/frontend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py index 144bc98a..3d496f3e 100755 --- a/babel/messages/frontend.py +++ b/babel/messages/frontend.py @@ -89,7 +89,7 @@ class compile_catalog(Command): raise DistutilsOptionError('you must specify either the input file ' 'or the base directory') if not self.output_file and not self.directory: - raise DistutilsOptionError('you must specify either the input file ' + raise DistutilsOptionError('you must specify either the output file ' 'or the base directory') def run(self): @@ -750,7 +750,7 @@ class CommandLineInterface(object): mo_files.append(options.output_file) else: if not options.directory: - parser.error('you must specify either the input file or ' + parser.error('you must specify either the output file or ' 'the base directory') mo_files.append(os.path.join(options.directory, options.locale, 'LC_MESSAGES', -- 2.47.3