Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

doozer URIs begin with doozer: and not doozerd:

  • Loading branch information...
commit d9b165ed9aafe6ed5feaca5a6fc08cbefd9be51b 1 parent 7369f47
Sridhar Ratnakumar authored April 03, 2012

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  doozer/client.py
6  doozer/client.py
@@ -11,7 +11,7 @@
11 11
 
12 12
 CONNECT_TIMEOUT = 5.0
13 13
 REQUEST_TIMEOUT = 2.0
14  
-DEFAULT_URI = "doozerd:?%s" % "&".join([
  14
+DEFAULT_URI = "doozer:?%s" % "&".join([
15 15
     "ca=127.0.0.1:8046",
16 16
     "ca=127.0.0.1:8041",
17 17
     "ca=127.0.0.1:8042",
@@ -63,7 +63,7 @@ def pb_dict(message):
63 63
 
64 64
 def parse_uri(uri):
65 65
     """Parse the doozerd URI scheme to get node addresses"""
66  
-    if uri.startswith("doozerd:?"):
  66
+    if uri.startswith("doozer:?"):
67 67
         before, params = uri.split("?", 1)
68 68
         addrs = []
69 69
         for param in params.split("&"):
@@ -241,4 +241,4 @@ def disconnect(self):
241 241
         self.connection.disconnect()
242 242
     
243 243
     def connect(self):
244  
-        self.connection.connect()
  244
+        self.connection.connect()

0 notes on commit d9b165e

Please sign in to comment.
Something went wrong with that request. Please try again.