* src/GrampsParser.py: remove debugging statement
* src/RelLib.py: remove debugging statement * src/gramps_main.py: If an invalid ID is found while attempting to access the history, invalidate the history list (set to empty list). This should only happen after a reordering of IDs. svn: r2282
This commit is contained in:
1 parent
7df344ec86
commit
9ce580c501
4 files changed
+32
-31
No files matched your search
+3
-6
@@ -2304,12 +2304,9 @@ class GrampsDB(Persistent):
|
||||
return self.surnames
|
||||
|
||||
def addSurname(self,name):
|
||||
try:
|
||||
if name and name not in self.surnames:
|
||||
self.surnames.append(name)
|
||||
self.surnames.sort()
|
||||
except:
|
||||
print name
|
||||
if name and name not in self.surnames:
|
||||
self.surnames.append(name)
|
||||
self.surnames.sort()
|
||||
|
||||
def getBookmarks(self):
|
||||
"""returns the list of Person instances in the bookmarks"""
|
||||
|
||||
Reference in new issue
Block a user