]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
fixed old comments kwarg to auto_comments
authorPhilip Jenvey <pjenvey@underboss.org>
Thu, 14 Jun 2007 20:39:31 +0000 (20:39 +0000)
committerPhilip Jenvey <pjenvey@underboss.org>
Thu, 14 Jun 2007 20:39:31 +0000 (20:39 +0000)
babel/messages/frontend.py

index cb25319efa448b163b4690a970575b2c75c8d9b1..d3aa06ecf97f38e87d16ff07a6ad1a2606289c19 100644 (file)
@@ -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,