* src/RelLib.py: backout yesterday's change
svn: r2091
This commit is contained in:
parent
9c37c0efc6
commit
e838c771fb
@ -2299,14 +2299,6 @@ class GrampsDB(Persistent):
|
|||||||
|
|
||||||
def getDefaultPerson(self):
|
def getDefaultPerson(self):
|
||||||
"""returns the default Person of the database"""
|
"""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):
|
def getPerson(self,id):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user