Merge "Fix print-zk tool for python3"

This commit is contained in:
Zuul 2018-12-01 20:44:29 +00:00 committed by Gerrit Code Review
commit f116826d2b
1 changed files with 3 additions and 3 deletions

View File

@ -40,12 +40,12 @@ def join(a, b):
def print_tree(node):
data, stat = zk.client.get(node)
print "Node: %s %s" % (node, stat)
print("Node: %s %s" % (node, stat))
if data:
print data
print(data)
for child in zk.client.get_children(node):
print
print()
print_tree(join(node, child))
print_tree('/')