Skip to content
This repository has been archived by the owner on Jul 29, 2020. It is now read-only.

Commit

Permalink
changing tuple to list of tuples
Browse files Browse the repository at this point in the history
  • Loading branch information
cglewis committed Oct 31, 2013
1 parent 2ac4f93 commit c7cfc05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hemlock/clients/hemlock_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def connect_server(self, debug, server_dict, no_couchbase):
import pyes
# connect to the elasticsearch server
try:
h_server = pyes.ES(("http", server_dict['HEMLOCK_ELASTICSEARCH_ENDPOINT'], "9200"))
h_server = pyes.ES(server=[("http", server_dict['HEMLOCK_ELASTICSEARCH_ENDPOINT'], "9200")])
self.log.debug(debug, "ElasticSearch connection handle: "+str(h_server))
except:
print "Failure connecting to the Hemlock server"
Expand Down

0 comments on commit c7cfc05

Please sign in to comment.