From 13be104ab25140a59f5eb729a8854b7045ea0bd9 Mon Sep 17 00:00:00 2001 From: Shantanu Oak Date: Fri, 26 Feb 2016 14:20:12 +0530 Subject: [PATCH] no need for connection object for redshift query commented line self._showSnap() --- easyboto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easyboto.py b/easyboto.py index a133552..7ce6fb5 100644 --- a/easyboto.py +++ b/easyboto.py @@ -83,7 +83,7 @@ def deleteSnapshot(self, snapshot_identifier_todelete): ##### Query Management ##### def runQuery(self, my_query): - self._showSnap() +# self._showSnap() import psycopg2 pconn = psycopg2.connect("host='"+self.my_add+"' port='5439' dbname='"+self.my_db+"' user='"+self.my_user+"' password='"+self.my_pas+"'") cur = pconn.cursor()