From d6ced6ed649d0da1ee40bac3c1253df6d79fffdc Mon Sep 17 00:00:00 2001 From: "Peter J. Keleher" <keleher@cs.umd.edu> Date: Sat, 23 Sep 2017 11:56:44 -0400 Subject: [PATCH] auto --- test-example.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 test-example.py diff --git a/test-example.py b/test-example.py old mode 100755 new mode 100644 index caf7a26..e91a661 --- a/test-example.py +++ b/test-example.py @@ -9,7 +9,7 @@ if len(sys.argv) != 2: def executePrint(s): cur.execute(s) - print cur.fetchall() + print(cur.fetchall()) conn = psycopg2.connect("dbname=flightsskewed user=ubuntu") cur = conn.cursor() @@ -19,9 +19,9 @@ os.system("python {:s} example.json".format(sys.argv[1])) ## Add a customer who doesn't exist -print "==== Testing first json update" +print("==== Testing first json update") executePrint("select * from customers where customerid = 'cust1000'") -print "==== Testing second json update" +print("==== Testing second json update") executePrint("select * from flewon where flightid = 'DL108' and flightdate='2015-09-25'") executePrint("select * from customers where customerid = 'cust1001'") -- GitLab