]> git.phdru.name Git - bookmarks_db.git/blobdiff - Writers/bkmk_wflad_err.py
Fix(parse_html): Fix BS4 parser: encode title to utf-8 as the last resort
[bookmarks_db.git] / Writers / bkmk_wflad_err.py
index 356a65e66f67e32bc3df60ce0832063d8432c517..a48484c4aea599d835b012fdbd13c2cab73c950e 100644 (file)
@@ -3,11 +3,8 @@
 This file is a part of Bookmarks database and Internet robot.
 """
 
-__version__ = "$Revision$"[11:-2]
-__revision__ = "$Id$"[5:-2]
-__date__ = "$Date$"[7:-2]
 __author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2000-2011 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2000-2017 PhiloSoft Design"
 __license__ = "GNU GPL"
 
 __all__ = ['writer_flad_err']
@@ -18,8 +15,8 @@ from bkmk_wflad import writer_flad
 
 
 class writer_flad_err(writer_flad):
-   filename = "bookmarks_db.errors"
+    filename = "bookmarks_db.errors"
 
-   def bookmark(self, b, level):
-      if hasattr(b, "error"):
-         writer_flad.bookmark(self, b, level)
+    def bookmark(self, b, level):
+        if hasattr(b, "error"):
+            writer_flad.bookmark(self, b, level)