Skip to content

Commit 2cfb11a

Browse files
committed
Merge branch 'iPowow-master'
2 parents 6ccabd8 + 620876f commit 2cfb11a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etcd/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def get_subtree(self, leaves_only=False):
6767
if not leaves_only:
6868
#Return also dirs, not just value nodes
6969
yield node
70-
for child in node.children:
70+
for child in node.get_subtree(leaves_only=leaves_only):
7171
yield child
7272
return
7373

0 commit comments

Comments
 (0)