Skip to content

Commit

Permalink
no need for connection object for redshift query
Browse files Browse the repository at this point in the history
commented line self._showSnap()
  • Loading branch information
shantanuo committed Feb 26, 2016
1 parent c3e5dfd commit 13be104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easyboto.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 13be104

Please sign in to comment.