diff --git a/test-example.py b/test-example.py old mode 100755 new mode 100644 index caf7a262cf8f8da98fb613acec74ddf53ab25f91..e91a661538dc059348f2738450c471cce6368041 --- 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'")