diff options
author | Sergio Castaño Arteaga <sarteaga@ipowow.com> | 2014-09-01 08:41:15 +1000 |
---|---|---|
committer | Sergio Castaño Arteaga <sarteaga@ipowow.com> | 2014-09-01 08:41:15 +1000 |
commit | b0dd619fce24dd608b86bd01941aeabd930eb0e0 (patch) | |
tree | 51db42d06cd9dcf633fb47a2105b411843d9e406 /src | |
parent | b4ff9cea95d0dbb1a8f83d9ff140fd9d9d977f8e (diff) |
Forward leaves_only value in get_subtree() recursive calls
Diffstat (limited to 'src')
-rw-r--r-- | src/etcd/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etcd/__init__.py b/src/etcd/__init__.py index ce981d1..600a60c 100644 --- a/src/etcd/__init__.py +++ b/src/etcd/__init__.py @@ -67,7 +67,7 @@ class EtcdResult(object): if not leaves_only: #Return also dirs, not just value nodes yield node - for child in node.children: + for child in node.get_subtree(leaves_only=leaves_only): yield child return |