]> git.phdru.name Git - bookmarks_db.git/blobdiff - Writers/bkmk_wflad_err.py
Cleanup code: use 4 spaces
[bookmarks_db.git] / Writers / bkmk_wflad_err.py
index b7b29770c765e5de1fd345f304a01db439e4d231..a48484c4aea599d835b012fdbd13c2cab73c950e 100644 (file)
@@ -3,24 +3,20 @@
 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"
 
-import time
-from bkmk_wflad import writer_flad
+__all__ = ['writer_flad_err']
 
 
-def strftime(s):
-   return time.strftime("%a %d %b %Y %T", time.localtime(int(s)))
+import time
+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)