Fix errors in bookmark filters.

svn: r8429
This commit is contained in:
Brian Matherly
2007-04-28 03:55:43 +00:00
parent 32983aba80
commit 26bda1fdae
3 changed files with 7 additions and 2 deletions

View File

@ -58,7 +58,7 @@ class IsLessThanNthGenerationAncestorOfBookmarked(Rule):
def prepare(self,db):
self.db = db
bookmarks = self.db.get_bookmarks()
bookmarks = db.get_bookmarks().get()
if len(bookmarks) == 0:
self.apply = lambda db,p : False
else:

View File

@ -58,7 +58,7 @@ class RelationshipPathBetweenBookmarks(Rule):
def prepare(self,db):
self.db = db
self.map = {}
bookmarks = self.db.get_bookmarks()
bookmarks = db.get_bookmarks().get()
if len(bookmarks) == 0:
self.apply = lambda db,p : False
else: