Remove kazoo hack/fix for issue no longer needed
Depends-On: I5cf30d2952850de140f4bcc8bb3eac100ee8001e Change-Id: Ifdf6ec863a3596b6b5e2e58ea383112484b47c26
This commit is contained in:
committed by
Thomas Goirand
parent
7b2f79f773
commit
df5c60d6eb
@@ -109,13 +109,7 @@ def checked_commit(txn):
|
||||
def finalize_client(client):
|
||||
"""Stops and closes a client, even if it wasn't started."""
|
||||
client.stop()
|
||||
try:
|
||||
client.close()
|
||||
except TypeError:
|
||||
# NOTE(harlowja): https://github.com/python-zk/kazoo/issues/167
|
||||
#
|
||||
# This can be removed after that one is fixed/merged.
|
||||
pass
|
||||
client.close()
|
||||
|
||||
|
||||
def check_compatible(client, min_version=None, max_version=None):
|
||||
|
||||
Reference in New Issue
Block a user