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