* src/RelLib.py: backout yesterday's change
svn: r2091
This commit is contained in:
parent
20cae13061
commit
7105782475
@ -2299,14 +2299,6 @@ 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
|
||||
|
||||
def getPerson(self,id):
|
||||
|
Loading…
Reference in New Issue
Block a user