date.get_start_date has no attribute 'is_valid'

svn: r21292
This commit is contained in:
Tim G L Lyons 2013-02-04 18:12:09 +00:00
parent e46c38bf0e
commit 404c2f154b

View File

@ -121,7 +121,7 @@ class ProbablyAlive(object):
ev = self.db.get_event_from_handle(ev_ref.ref)
if ev and ev.type.is_death_fallback():
death_date = ev.get_date_object()
if death_date.get_start_date().is_valid():
if death_date.is_valid():
explain = _("death-related evidence")
else:
death_date = Today() # before today