# HG changeset patch # User palgarvio # Date 1181515310 0 # Node ID e38c0204004f5548cfb28fd8938fa705a8be36ea # Parent 04a2f16bdd04a951eb0c7efa703a642fcbc69ec6 Fixed a bug on the CLI frontend introduced on [81]. Thanks pjenvey! diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py --- 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)],