]> git.phdru.name Git - bookmarks_db.git/blob - Writers/bkmk_wflad_err.py
418a3e05c001f760e9e1368bbe0634b6eb511de9
[bookmarks_db.git] / Writers / bkmk_wflad_err.py
1 """Dump bookmarks db to a more readable FLAD after check_urls
2
3 This file is a part of Bookmarks database and Internet robot.
4 """
5
6 __author__ = "Oleg Broytman <phd@phdru.name>"
7 __copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
8 __license__ = "GNU GPL"
9
10 __all__ = ['writer_flad_err']
11
12
13 import time
14 from bkmk_wflad import writer_flad
15
16
17 class writer_flad_err(writer_flad):
18    filename = "bookmarks_db.errors"
19
20    def bookmark(self, b, level):
21       if hasattr(b, "error"):
22          writer_flad.bookmark(self, b, level)