]> git.phdru.name Git - bookmarks_db.git/blob - Writers/bkmk_wflad_err.py
Cleanup code: use 4 spaces
[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-2017 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)