Commit c2db06a9 authored by anonym's avatar anonym
Browse files

Make sure we only save "references" to at-spi paths in children().

Dogtail's stdout can contain other stuff, like debug logging, so let's
match the type of lines we are looking for.
parent d490bbd9
......@@ -147,6 +147,7 @@ module Dogtail
" print(n.path)",
]
a11y_at_spi_paths = run(find_paths_script_lines).stdout.chomp.split("\n")
.grep(Regexp.new('^/org/a11y/atspi/accessible/'))
a11y_at_spi_paths.map do |path|
more_init_lines = [
"from dogtail import predicate",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment