Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
doozer URIs begin with doozer: and not doozerd:
  • Loading branch information
Sridhar Ratnakumar committed Apr 3, 2012
1 parent 7369f47 commit d9b165e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doozer/client.py
Expand Up @@ -11,7 +11,7 @@

CONNECT_TIMEOUT = 5.0
REQUEST_TIMEOUT = 2.0
DEFAULT_URI = "doozerd:?%s" % "&".join([
DEFAULT_URI = "doozer:?%s" % "&".join([
"ca=127.0.0.1:8046",
"ca=127.0.0.1:8041",
"ca=127.0.0.1:8042",
Expand Down Expand Up @@ -63,7 +63,7 @@ def pb_dict(message):

def parse_uri(uri):
"""Parse the doozerd URI scheme to get node addresses"""
if uri.startswith("doozerd:?"):
if uri.startswith("doozer:?"):
before, params = uri.split("?", 1)
addrs = []
for param in params.split("&"):
Expand Down Expand Up @@ -241,4 +241,4 @@ def disconnect(self):
self.connection.disconnect()

def connect(self):
self.connection.connect()
self.connection.connect()

0 comments on commit d9b165e

Please sign in to comment.