From 463d969ad052d84a6442bf05202fce7c102546c6 Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Thu, 25 Oct 2012 10:56:20 -0700 Subject: [PATCH] ZooKeeper: replace deprecated connect() with start(). --- r2/r2/lib/zookeeper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/lib/zookeeper.py b/r2/r2/lib/zookeeper.py index 4eafdcd2d..2f97c3669 100644 --- a/r2/r2/lib/zookeeper.py +++ b/r2/r2/lib/zookeeper.py @@ -46,7 +46,7 @@ def connect_to_zookeeper(hostlist, credentials): # convenient helper function for making credentials client.make_acl = functools.partial(make_digest_acl, *credentials) - client.connect() + client.start() client.add_auth("digest", ":".join(credentials)) return client