Fixed an error on line 691-- named variables. Thanks Peter for pointing it out.

svn: r14486
This commit is contained in:
Rob G. Healey 2010-02-25 16:53:31 +00:00
parent 6593bcc66f
commit bcedebba64

View File

@ -688,7 +688,7 @@ 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)")) % {
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)