* src/DateParser.py: try to detect illegal numerical dates

* src/Utils.py: not_too_old moved over from RelLib.py
* src/WriteGedcom.py: fix call to probably_alive


svn: r3618
This commit is contained in:
Don Allingham
2004-10-10 23:22:12 +00:00
parent e6783320cb
commit 6078827986
5 changed files with 37 additions and 9 deletions

View File

@@ -51,6 +51,8 @@ import Date
import GedcomInfo
import Errors
import ansel_utf8
import Utils
import Date
from gettext import gettext as _
from QuestionDialog import ErrorDialog
@@ -750,7 +752,7 @@ class GedcomWriter:
def write_person(self,person):
self.writeln("0 @%s@ INDI" % person.get_gramps_id())
restricted = self.restrict and probably_alive (person,self.db)
restricted = self.restrict and Utils.probably_alive (person,self.db)
self.prefn(person)
primaryname = person.get_primary_name ()
if restricted and self.living: