Mercurial > babel > old > mirror
changeset 90:cbc44fce25aa
Completely fixed the bug reported by pjenvey, partially addressed on [87].
author | palgarvio |
---|---|
date | Mon, 11 Jun 2007 19:43:58 +0000 |
parents | 31519c52c0fe |
children | f517ad70d8fc |
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 @@ -483,7 +483,7 @@ 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)],