[Patches] [ python-Patches-873211 ] trace.py: simple bug in write_results_file

SourceForge.net noreply at sourceforge.net
Thu Jan 8 13:07:10 EST 2004


Patches item #873211, was opened at 2004-01-08 18:07
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=873211&group_id=5470

Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bruno da Silva de Oliveira (nicoddemus)
Assigned to: Nobody/Anonymous (nobody)
Summary: trace.py: simple bug in write_results_file

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=873211&group_id=5470



More information about the Patches mailing list