Changed {} format

This commit is contained in:
Doug Blank 2013-12-20 00:18:46 -05:00
parent aa96ebc333
commit e649e5514d

View File

@ -345,7 +345,7 @@ class ProbablyAlive(object):
return (date1, date2, explain, other) return (date1, date2, explain, other)
def ancestors_too_old(person, year): def ancestors_too_old(person, year):
LOG.debug("ancestors_too_old('{}', {})".format( LOG.debug("ancestors_too_old('%s', %s)".format(
name_displayer.display(person), year) ) name_displayer.display(person), year) )
family_handle = person.get_main_parents_family_handle() family_handle = person.get_main_parents_family_handle()
if family_handle: if family_handle:
@ -496,7 +496,7 @@ def probably_alive(person, db,
max_sib_age_diff, max_age_prob_alive, avg_generation_gap) max_sib_age_diff, max_age_prob_alive, avg_generation_gap)
if current_date is None: if current_date is None:
current_date = Today() current_date = Today()
LOG.debug("{}: b.{}, d.{} - {}".format( LOG.debug("%s: b.%s, d.%s - %s".format(
" ".join(person.get_primary_name().get_text_data_list()), " ".join(person.get_primary_name().get_text_data_list()),
birth, death, explain)) birth, death, explain))
if not birth or not death: if not birth or not death: