]> git.phdru.name Git - bookmarks_db.git/blobdiff - Writers/bkmk_wflad.py
Minor refactoring
[bookmarks_db.git] / Writers / bkmk_wflad.py
index 0a94fd8e93652d9727ddc270dcaf787093fad591..189177f56cafc66453c8c45eb2363da79828747e 100644 (file)
@@ -1,9 +1,14 @@
-"""
-   Dump bookmarks db to a more readable FLat Ascii Database
+"""Dump bookmarks db to a more readable FLat Ascii Database
 
-   Written by Broytman. Copyright (C) 2000-2010 PhiloSoft Design.
+This file is a part of Bookmarks database and Internet robot.
 """
 
+__author__ = "Oleg Broytman <phd@phdru.name>"
+__copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
+__license__ = "GNU GPL"
+
+__all__ = ['writer_flad']
+
 
 import time
 from bkmk_objects import Writer
@@ -23,7 +28,6 @@ class writer_flad(Writer):
       Writer.__init__(self, outfile, prune)
       self.first_object = 1
 
-
    def start_folder(self, f, level):
       self.outfile.write("""
 Level: %d
@@ -31,8 +35,7 @@ Folder: %s
 AddDate: %s
 Comment: %s
 LastModified: %s
-""" % (level, f.name, strftime(f.add_date), f.comment, f.last_modified or ''))
-
+""" % (level, f.name, strftime(f.add_date), f.comment, strftime(f.last_modified)))
 
    def bookmark(self, b, level):
       self.outfile.write("""