X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Writers%2Fbkmk_wflad_err.py;h=a48484c4aea599d835b012fdbd13c2cab73c950e;hb=c88cb7a75e7caf1d67466cfa107981d95115fa0c;hp=5370d1be4a1ed0e550b7e9080c5f4e44a569278a;hpb=c9cfb54ef36e77aee7187e4533f063d407073ad8;p=bookmarks_db.git diff --git a/Writers/bkmk_wflad_err.py b/Writers/bkmk_wflad_err.py index 5370d1b..a48484c 100644 --- a/Writers/bkmk_wflad_err.py +++ b/Writers/bkmk_wflad_err.py @@ -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 " -__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)