From ae4d1454b231838776f152103fd008cb46238027 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 6 Mar 2004 04:46:07 +0000 Subject: [PATCH] fix surname list svn: r2975 --- src/RelLib.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/RelLib.py b/src/RelLib.py index 7710542d8..f060a4323 100644 --- a/src/RelLib.py +++ b/src/RelLib.py @@ -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.