* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase._sortbyname): Remove

obsolete method.


svn: r7201
This commit is contained in:
Alex Roitman 2006-08-18 05:59:44 +00:00
parent 655dc48a92
commit a5a8303768
2 changed files with 2 additions and 5 deletions

View File

@ -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.

View File

@ -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])