From: Ville Skyttä Date: Tue, 26 Jul 2016 20:24:19 +0000 (+0300) Subject: Let logging format messages on demand X-Git-Tag: v2.4.0~13^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14bcfc4b48f99bfe7e1bb92d69a1ee5dad81c4f8;p=thirdparty%2Fbabel.git Let logging format messages on demand --- diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py index d9910133..89a7b54a 100644 --- a/babel/messages/frontend.py +++ b/babel/messages/frontend.py @@ -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,