From 244b8621fc3385fc69ae34f942f91730867eab41 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Thu, 4 Mar 2010 13:56:26 +0000 Subject: [PATCH] Fixed another two problems with string formatting using {}. svn: r14614 --- src/plugins/import/ImportProGen.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/import/ImportProGen.py b/src/plugins/import/ImportProGen.py index fb3191420..0c5122abc 100644 --- a/src/plugins/import/ImportProGen.py +++ b/src/plugins/import/ImportProGen.py @@ -1239,11 +1239,11 @@ class ProgenParser(object): father_handle = father > 0 and self.__find_person_handle("I%d" % father) or None mother_handle = mother > 0 and self.__find_person_handle("I%d" % mother) or None if father > 0 and not father_handle: - log.warning(_("cannot find father for I%(person)s (father=%(id)d)")) % { - 'person' : pers_id, 'id' : father } + log.warning(_("cannot find father for I%(person)s (father=%(id)d)") % { + 'person' : pers_id, 'id' : father } ) elif mother > 0 and not mother_handle: - log.warning(_("cannot find mother for I%(person)s (mother=%(mother)d)")) % { - 'person' : pers_id, 'mother' : mother } + log.warning(_("cannot find mother for I%(person)s (mother=%(mother)d)") % { + 'person' : pers_id, 'mother' : mother } ) else: fam = self.fm2fam.get((father_handle, mother_handle), None) if not fam: