X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Writers%2Fbkmk_wflad_err.py;h=04ccc29cf314af656928ab0acb6bb73a13f92ea9;hb=68438d614389f7011d78ed6b29d3a2ab13471c8b;hp=b7b29770c765e5de1fd345f304a01db439e4d231;hpb=832eb757ef7f81abf1e431ce16f368c10dd57962;p=bookmarks_db.git diff --git a/Writers/bkmk_wflad_err.py b/Writers/bkmk_wflad_err.py index b7b2977..04ccc29 100644 --- a/Writers/bkmk_wflad_err.py +++ b/Writers/bkmk_wflad_err.py @@ -3,24 +3,19 @@ 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 " -__copyright__ = "Copyright (C) 2000-2011 PhiloSoft Design" +__copyright__ = "Copyright (C) 2000-2023 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))) +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)