From: Pedro Algarvio Date: Mon, 11 Jun 2007 19:43:58 +0000 (+0000) Subject: Completely fixed the bug reported by pjenvey, partially addressed on [87]. X-Git-Tag: 1.0~541 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c143de44de36229cf6dcaf4d9b763169bf6a4d6;p=thirdparty%2Fbabel.git Completely fixed the bug reported by pjenvey, partially addressed on [87]. --- diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py index 12d60b8e..2802527b 100644 --- a/babel/messages/frontend.py +++ b/babel/messages/frontend.py @@ -483,7 +483,7 @@ class CommandLineInterface(object): parser.error('%r is not a directory' % dirname) extracted = extract_from_dir(dirname, method_map, options_map, keywords, - comment_tags=options.comments) + comment_tags=options.add_comments) for filename, lineno, message, comments in extracted: filepath = os.path.normpath(os.path.join(dirname, filename)) catalog.add(message, None, [(filepath, lineno)],