2007-10-08 Don Allingham <don@gramps-project.org>

* various: gen.lib integration. probably touches almost every file

	* various: gen.utils integration


svn: r9101
This commit is contained in:
Don Allingham
2007-10-08 16:41:39 +00:00
parent 8038bc0dca
commit d58641415d
245 changed files with 2315 additions and 2355 deletions

View File

@ -44,7 +44,7 @@ import gtk
# GRAMPS modules
#
#------------------------------------------------------------------------
import RelLib
import gen.lib
import Utils
import Errors
from PluginUtils import register_report
@ -170,7 +170,7 @@ class DetDescendantReport(Report):
nspouses = 0
for family_handle in self.start_person.get_family_handle_list():
family = self.database.get_family_from_handle(family_handle)
if self.start_person.get_gender() == RelLib.Person.MALE:
if self.start_person.get_gender() == gen.lib.Person.MALE:
spouse_handle = family.get_mother_handle()
else:
spouse_handle = family.get_father_handle()
@ -254,7 +254,7 @@ class DetDescendantReport(Report):
for family_handle in person.get_family_handle_list():
family = self.database.get_family_from_handle(family_handle)
if self.includeMates:
if person.get_gender() == RelLib.Person.MALE:
if person.get_gender() == gen.lib.Person.MALE:
mate_handle = family.get_mother_handle()
else:
mate_handle = family.get_father_handle()