changeset 51:ef6d572c4e1e

switch to python3 style print()
author David A. Holland
date Sat, 02 Apr 2022 18:14:40 -0400
parents bb0ece71355e
children c0be30249ffe
files shelltools/query-pr/query.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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