pychecker fixes, GEDCOM import/export improvements, calendar improvements

svn: r1250
This commit is contained in:
Don Allingham
2003-01-10 05:21:32 +00:00
parent 7cbe8331e0
commit 141fec93ab
48 changed files with 489 additions and 480 deletions

View File

@ -48,9 +48,10 @@ import gtk
#
#-------------------------------------------------------------------------
import const
from RelLib import *
import RelLib
import Date
from intl import gettext as _
from Utils import for_each_ancestor
#-------------------------------------------------------------------------
#
@ -151,7 +152,7 @@ class IsFemale(Rule):
return 'Is a female'
def apply(self,db,p):
return p.getGender() == Person.female
return p.getGender() == RelLib.Person.female
#-------------------------------------------------------------------------
#
@ -296,7 +297,7 @@ class IsMale(Rule):
return 'Is a male'
def apply(self,db,p):
return p.getGender() == Person.male
return p.getGender() == Person.Person.male
#-------------------------------------------------------------------------
#