X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Writers%2Fbkmk_wflad_err.py;h=a48484c4aea599d835b012fdbd13c2cab73c950e;hb=c88cb7a75e7caf1d67466cfa107981d95115fa0c;hp=4fb127f3856dd2a00b9eb8e3cb4e7f2034197adf;hpb=0e76f1851882b99da63a7c8a9e4cdf0c4a48657f;p=bookmarks_db.git diff --git a/Writers/bkmk_wflad_err.py b/Writers/bkmk_wflad_err.py index 4fb127f..a48484c 100644 --- a/Writers/bkmk_wflad_err.py +++ b/Writers/bkmk_wflad_err.py @@ -1,21 +1,22 @@ -""" - Dump bookmarks db to a more readable FLAD after check_urls +"""Dump bookmarks db to a more readable FLAD after check_urls - Written by Broytman, Oct 2000 - Aug 2004. Copyright (C) 2000-2004 PhiloSoft Design +This file is a part of Bookmarks database and Internet robot. """ +__author__ = "Oleg Broytman " +__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)