X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=sort_db.py;fp=sort_db.py;h=9a478bf75c394513411e762c2ccc2cdb9d4a30cf;hb=c1c90856aeffcf8f2bcb7abf39934d5e0f8be36d;hp=f53cdd4d71b57c20558859220721671e06dbd397;hpb=abee12cd1f9876c8a4e0d6dfbb854bbb118d01b8;p=bookmarks_db.git diff --git a/sort_db.py b/sort_db.py index f53cdd4..9a478bf 100755 --- a/sort_db.py +++ b/sort_db.py @@ -13,7 +13,7 @@ This file is a part of Bookmarks database and Internet robot. """ __author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2000-2014 PhiloSoft Design" +__copyright__ = "Copyright (C) 2000-2017 PhiloSoft Design" __license__ = "GNU GPL" import sys @@ -81,7 +81,7 @@ def run(): root_folder = storage.load() if report_stats: - print "Ok" + print("Ok") sys.stdout.write("Sorting (by %s): " % sort_by) sys.stdout.flush() @@ -102,7 +102,7 @@ def run(): output_filename = output_filename + "-reverse" if report_stats: - print "done" + print("done") sys.stdout.write("Writing %s: " % output_filename) sys.stdout.flush() @@ -113,7 +113,7 @@ def run(): outfile.close() if report_stats: - print "Ok" + print("Ok") if __name__ == '__main__':