]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Let logging format messages on demand
authorVille Skyttä <ville.skytta@iki.fi>
Tue, 26 Jul 2016 20:24:19 +0000 (23:24 +0300)
committerVille Skyttä <ville.skytta@iki.fi>
Tue, 26 Jul 2016 23:23:13 +0000 (02:23 +0300)
babel/messages/frontend.py

index d991013346f61ff5604efa68df9e10d2c125bf59..89a7b54ab913b7d4fd616e64de67fb938d8afe1c 100644 (file)
@@ -460,7 +460,7 @@ class extract_messages(Command):
                     catalog.add(message, None, [(filepath, lineno)],
                                 auto_comments=comments, context=context)
 
-            self.log.info('writing PO template file to %s' % self.output_file)
+            self.log.info('writing PO template file to %s', self.output_file)
             write_po(outfile, catalog, width=self.width,
                      no_location=self.no_location,
                      omit_header=self.omit_header,