* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase._sortbyname): Remove
obsolete method. svn: r7201
This commit is contained in:
parent
655dc48a92
commit
a5a8303768
@ -1,4 +1,6 @@
|
||||
2006-08-17 Alex Roitman <shura@gramps-project.org>
|
||||
* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase._sortbyname): Remove
|
||||
obsolete method.
|
||||
* src/NameDisplay.py: Correct constants to accomodate Name change.
|
||||
* src/GrampsDb/_GrampsBSDDB.py: Upgrade the names.
|
||||
* src/RelLib/_Name.py: Remove sname attribute.
|
||||
|
@ -1834,11 +1834,6 @@ class GrampsDbBase(GrampsDBCallback):
|
||||
"""
|
||||
return self.repository_map.has_key(str(handle))
|
||||
|
||||
def _sortbyname(self, first, second):
|
||||
name1 = self.person_map.get(str(first))[3].sname
|
||||
name2 = self.person_map.get(str(second))[3].sname
|
||||
return locale.strcoll(name1, name2)
|
||||
|
||||
def _sortbyplace(self, first, second):
|
||||
return locale.strcoll(self.place_map.get(str(first))[2],
|
||||
self.place_map.get(str(second))[2])
|
||||
|
Loading…
Reference in New Issue
Block a user