# HG changeset patch # User David A. Holland # Date 1648937680 14400 # Node ID ef6d572c4e1e8ebffff4c34a4d04e1c9705bb799 # Parent bb0ece71355e2c4a1ef700ef1846e3ddc250ba21 switch to python3 style print() diff -r bb0ece71355e -r ef6d572c4e1e shelltools/query-pr/query.py --- a/shelltools/query-pr/query.py Sat Apr 02 18:10:52 2022 -0400 +++ b/shelltools/query-pr/query.py Sat Apr 02 18:14:40 2022 -0400 @@ -246,10 +246,10 @@ # end closedb def querydb(qtext, args): - print "Executing this query:" - print qtext - print "Args are:" - print args + print("Executing this query:") + print(qtext) + print("Args are:") + print(args) cursor = dblink.cursor() cursor.execute(qtext, args) @@ -491,7 +491,7 @@ pass def printrow(self, row): # XXX - print row + print(row) def printfooter(self, row): # nothing pass