etcd: fix blocking argument

The value should be passed, not only a boolean. No need for conversion.

Change-Id: I73a8a1b377d9eb7e4a8b6433f0b09832756c7188
This commit is contained in:
Julien Danjou 2017-05-22 14:24:59 +02:00
parent 1a57bbcc24
commit ae1e42274b
1 changed files with 0 additions and 2 deletions

View File

@ -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