From 10103044e0fbd20195b0898181a7d5350e74ed87 Mon Sep 17 00:00:00 2001 From: Giuseppe Lavagetto Date: Thu, 23 Apr 2015 11:23:33 +0200 Subject: Correct addition of recursive=true --- src/etcd/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/etcd/client.py b/src/etcd/client.py index b3c95f3..dc90190 100644 --- a/src/etcd/client.py +++ b/src/etcd/client.py @@ -506,7 +506,7 @@ class Client(object): """ local_index = index while True: - response = self.watch(key, index=local_index, timeout=0, recursive=True) + response = self.watch(key, index=local_index, timeout=0, recursive=recursive) if local_index is not None: local_index += 1 yield response -- cgit v1.2.3