* src/RelLib.py: backout yesterday's change

svn: r2091
This commit is contained in:
Don Allingham 2003-09-05 03:34:44 +00:00
parent 9c37c0efc6
commit e838c771fb

View File

@ -2299,15 +2299,7 @@ class GrampsDB(Persistent):
def getDefaultPerson(self):
"""returns the default Person of the database"""
if self.default == None:
keys = self.personTable.keys()
if len(keys):
keys.sort()
return self.personMap[keys[0]]
else:
return None
else:
return self.default
return self.default
def getPerson(self,id):
"""returns a map of gramps's IDs to Person instances"""