From: Philip Jenvey Date: Thu, 14 Jun 2007 20:39:31 +0000 (+0000) Subject: fixed old comments kwarg to auto_comments X-Git-Tag: 1.0~519 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ed4df5b884d27d8bf8df701254d760cced865b3;p=thirdparty%2Fbabel.git fixed old comments kwarg to auto_comments --- diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py index cb25319e..d3aa06ec 100644 --- a/babel/messages/frontend.py +++ b/babel/messages/frontend.py @@ -466,7 +466,7 @@ class CommandLineInterface(object): for filename, lineno, message, comments in extracted: filepath = os.path.normpath(os.path.join(dirname, filename)) catalog.add(message, None, [(filepath, lineno)], - comments=comments) + auto_comments=comments) write_po(outfile, catalog, width=options.width, no_location=options.no_location,