def walk_dir(path, args, state):
if args.debug:<EOL><INDENT>sys.stderr.write("<STR_LIT>" % path)<EOL><DEDENT>for root, _dirs, files in os.walk(path):<EOL><INDENT>if not safe_process_files(root, files, args, state):<EOL><INDENT>return False<EOL><DEDENT>if state.should_quit():<EOL><INDENT>return False<EOL><DEDENT><DEDENT>return True<EOL>
Check all files in `path' to see if there is any requests that
we should send out on the bus.