fix surname list
svn: r2975
This commit is contained in:
parent
2389e64bae
commit
ae4d1454b2
@ -2493,8 +2493,13 @@ class GrampsDB:
|
||||
#EARNEY, may eventually be able to use secondary indexes for this
|
||||
#that way we will not have to track these with code.
|
||||
def get_surnames(self):
|
||||
return []
|
||||
# return self.surnames.keys()
|
||||
names = self.surnames.keys()
|
||||
a = {}
|
||||
for name in names:
|
||||
a[name] = 1
|
||||
vals = a.keys()
|
||||
vals.sort()
|
||||
return vals
|
||||
|
||||
#this function may eventually become obsolete.. if we use
|
||||
#secondary indexes.
|
||||
|
Loading…
Reference in New Issue
Block a user