Issue 873211: trace.py: simple bug in write_results_file (original) (raw)

The callers of write_results_file expect it to return a tuple (n_lines, n_hits), but right at the beginning of the function there's an attempt to open the results file, and if that fails it just "return"s, which causes an exception in the callers when they try to unpack the tuple.