From b84716e1e9da0b55af335c0cc32f8c7d5692ecd6 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Thu, 4 Mar 2010 13:49:57 +0000 Subject: [PATCH] Fixed another error in string formatting using {}. svn: r14613 --- src/plugins/import/ImportProGen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/import/ImportProGen.py b/src/plugins/import/ImportProGen.py index ee6890140..fb3191420 100644 --- a/src/plugins/import/ImportProGen.py +++ b/src/plugins/import/ImportProGen.py @@ -688,8 +688,8 @@ class ProgenParser(object): date.set(gen.lib.Date.QUAL_NONE, gen.lib.Date.MOD_ABOUT, gen.lib.Date.CAL_GREGORIAN, (0, month, year, None)) return date - log.warning(_("date did not match: '%(text)s' (%(msg)s)")) % { - 'text' : txt.encode('utf-8'), 'msg' : diag_msg or '' } + log.warning(_("date did not match: '%(text)s' (%(msg)s)") % { + 'text' : txt.encode('utf-8'), 'msg' : diag_msg or '' } ) # Hmmm. Just use the plain text. date.set_as_text(txt) return date