]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Completely fixed the bug reported by pjenvey, partially addressed on [87].
authorPedro Algarvio <pedro@algarvio.me>
Mon, 11 Jun 2007 19:43:58 +0000 (19:43 +0000)
committerPedro Algarvio <pedro@algarvio.me>
Mon, 11 Jun 2007 19:43:58 +0000 (19:43 +0000)
babel/messages/frontend.py

index 12d60b8e6f3b66741b7456a9bf6391ff2e845046..2802527b226fef1b48a5e3952b86d71fdbb2aa93 100644 (file)
@@ -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)],