diff options
| author | Joshua Harlow <harlowja@yahoo-inc.com> | 2015-05-12 12:00:26 -0700 |
|---|---|---|
| committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2015-06-29 02:01:25 +0000 |
| commit | db7af3f19bf31e9379edcb6c4a610b8f9a367ca9 (patch) | |
| tree | 6ace7369be7cc79ef956bbbdb9f9802b7c5b5928 /taskflow/utils | |
| parent | d8cb596935eba673181d7d094bdd25834984379c (diff) | |
| download | taskflow-db7af3f19bf31e9379edcb6c4a610b8f9a367ca9.tar.gz | |
Remove kazoo hack/fix for issue no longer needed
Depends-On: I5cf30d2952850de140f4bcc8bb3eac100ee8001e
Change-Id: Ifdf6ec863a3596b6b5e2e58ea383112484b47c26
Diffstat (limited to 'taskflow/utils')
| -rw-r--r-- | taskflow/utils/kazoo_utils.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/taskflow/utils/kazoo_utils.py b/taskflow/utils/kazoo_utils.py index f681dc4..4baa317 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): |
