changeset 88:6da7113eaec0

Fixed a bug on the CLI frontend introduced on [81]. Thanks pjenvey!
author palgarvio
date Sun, 10 Jun 2007 22:41:50 +0000
parents f140be344563
children 31519c52c0fe
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
@@ -481,7 +481,7 @@
                     parser.error('%r is not a directory' % dirname)
                 extracted = extract_from_dir(dirname, method_map,
                                              options_map, keywords,
-                                             comments=options.comments)
+                                             comment_tags=options.comments)
                 for filename, lineno, message, comments in extracted:
                     filepath = os.path.normpath(os.path.join(dirname, filename))
                     catalog.add(message, None, [(filepath, lineno)], 
Copyright (C) 2012-2017 Edgewall Software