]> git.phdru.name Git - bookmarks_db.git/blobdiff - db2bkmk.py
Feat(Python3): Use print() function
[bookmarks_db.git] / db2bkmk.py
index eaca29f02fb02c9cb032abc6facf4b4a4cb965e1..14b02e4b71cf3e96946662341ab13fb33d1b1282 100755 (executable)
@@ -1,10 +1,12 @@
 #! /usr/bin/env python
-"""
-   Convert a bkmk database back to bookmarks.html (or other format defined by writer)
+"""Convert a bkmk database back to bookmarks.html (or other format defined by writer)
 
-   Written by Broytman, Mar 2000 - Aug 2002. Copyright (C) 2000-2002 PhiloSoft Design
+This file is a part of Bookmarks database and Internet robot.
 """
 
+__author__ = "Oleg Broytman <phd@phdru.name>"
+__copyright__ = "Copyright (C) 2000-2017 PhiloSoft Design"
+__license__ = "GNU GPL"
 
 import sys
 
@@ -54,7 +56,7 @@ def run():
    root_folder = storage.load()
 
    if report_stats:
-      print "Ok"
+      print("Ok")
       sys.stdout.write("Writing %s: " % output_filename)
       sys.stdout.flush()
 
@@ -99,7 +101,7 @@ def run():
    outfile.close()
 
    if report_stats:
-      print "Ok"
+      print("Ok")
 
 
 if __name__ == '__main__':