]> 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 5370d1be4a1ed0e550b7e9080c5f4e44a569278a..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']
@@ -17,13 +14,9 @@ import time
 from bkmk_wflad import writer_flad
 
 
-def strftime(s):
-   return time.strftime("%a %d %b %Y %T", time.localtime(int(s)))
-
-
 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)