Fix errors in bookmark filters.
svn: r8428
This commit is contained in:
parent
6bcc3e8c30
commit
73bbfa09a4
@ -1,3 +1,8 @@
|
|||||||
|
2007-04-27 Brian Matherly <brian@gramps-project.org>
|
||||||
|
* src/Filters/Rules/Person/_IsLessThanNthGenerationAncestorOfBookmarked.py:
|
||||||
|
* src/Filters/Rules/Person/_RelationshopPathBetweenBookmarks.py:
|
||||||
|
Fix bookmark errors.
|
||||||
|
|
||||||
2007-04-27 Brian Matherly <brian@gramps-project.org>
|
2007-04-27 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/plugins/BookReport.py: Fix escape error.
|
* src/plugins/BookReport.py: Fix escape error.
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ class IsLessThanNthGenerationAncestorOfBookmarked(Rule):
|
|||||||
|
|
||||||
def prepare(self,db):
|
def prepare(self,db):
|
||||||
self.db = db
|
self.db = db
|
||||||
bookmarks = self.db.get_bookmarks()
|
bookmarks = db.get_bookmarks().get()
|
||||||
if len(bookmarks) == 0:
|
if len(bookmarks) == 0:
|
||||||
self.apply = lambda db,p : False
|
self.apply = lambda db,p : False
|
||||||
else:
|
else:
|
||||||
|
@ -58,7 +58,7 @@ class RelationshipPathBetweenBookmarks(Rule):
|
|||||||
def prepare(self,db):
|
def prepare(self,db):
|
||||||
self.db = db
|
self.db = db
|
||||||
self.map = {}
|
self.map = {}
|
||||||
bookmarks = self.db.get_bookmarks()
|
bookmarks = db.get_bookmarks().get()
|
||||||
if len(bookmarks) == 0:
|
if len(bookmarks) == 0:
|
||||||
self.apply = lambda db,p : False
|
self.apply = lambda db,p : False
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user