]> git.phdru.name Git - bookmarks_db.git/blobdiff - bkmk-add.py
Feat(Python3): Use print() function
[bookmarks_db.git] / bkmk-add.py
index b882cf9082e22e7b0a807e0bba81c8b4f9decc3c..f0db4eaf7e0b3d7f592c4db24a7aca16dceba828 100755 (executable)
@@ -6,7 +6,7 @@ This file is a part of Bookmarks database and Internet robot.
 """
 
 __author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2002-2014 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2002-2017 PhiloSoft Design"
 __license__ = "GNU GPL"
 
 import sys, os, time
@@ -46,7 +46,7 @@ def run():
    root_folder = storage.load()
 
    if report_stats:
-      print "Ok"
+      print("Ok")
 
    href = args[0]
    now = int(time.time())
@@ -74,7 +74,7 @@ def run():
       storage.store(root_folder)
 
       if report_stats:
-         print "Ok"
+         print("Ok")
 
 
 if __name__ == '__main__':