@inlineCallbacks<EOL><INDENT>def recursive_delete(self, path, **kwargs):<DEDENT>
while True:<EOL><INDENT>try:<EOL><INDENT>yield self.delete(path, **kwargs)<EOL><DEDENT>except NoNodeException:<EOL><INDENT>break<EOL><DEDENT>except NotEmptyException:<EOL><INDENT>children = yield self.get_children(path)<EOL>for name in children:<EOL><INDENT>yield self.recursive_delete(path + "<STR_LIT:/>" + name)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>break<EOL><DEDENT><DEDENT>
Recursively delete path.