From df5c60d6eb689b52d35b56645b0a9c062f7416fd Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Tue, 12 May 2015 12:00:26 -0700 Subject: [PATCH] Remove kazoo hack/fix for issue no longer needed Depends-On: I5cf30d2952850de140f4bcc8bb3eac100ee8001e Change-Id: Ifdf6ec863a3596b6b5e2e58ea383112484b47c26 --- taskflow/utils/kazoo_utils.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/taskflow/utils/kazoo_utils.py b/taskflow/utils/kazoo_utils.py index f681dc46..4baa317c 100644 --- a/taskflow/utils/kazoo_utils.py +++ b/taskflow/utils/kazoo_utils.py @@ -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):