From ae1e42274b9d0b4f517c7cfae81cdf9a181a4101 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 22 May 2017 14:24:59 +0200 Subject: [PATCH] etcd: fix blocking argument The value should be passed, not only a boolean. No need for conversion. Change-Id: I73a8a1b377d9eb7e4a8b6433f0b09832756c7188 --- tooz/drivers/etcd3.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tooz/drivers/etcd3.py b/tooz/drivers/etcd3.py index 9738032..0f21a51 100644 --- a/tooz/drivers/etcd3.py +++ b/tooz/drivers/etcd3.py @@ -72,8 +72,6 @@ class Etcd3Lock(locking.Lock): if shared: raise tooz.NotImplemented - blocking, timeout = utils.convert_blocking(blocking) - @_retry.retry(stop_max_delay=blocking) def _acquire(): # TODO(jd): save the created revision so we can check it later to