~jmbr/halberd

0ccc7400ba1715741e12d81203303b627eb17267 — Juan M. Bello Rivas 17 years ago 7230e6c
Enhanced warning during the clue analysis stage.

darcs-hash:20060918100345-6d791-dc7f97279a13e025e65cc4946386dee8713b323c.gz
1 files changed, 3 insertions(+), 2 deletions(-)

M Halberd/clues/analysis.py
M Halberd/clues/analysis.py => Halberd/clues/analysis.py +3 -2
@@ 480,8 480,9 @@ def reanalyze(clues, analyzed, threshold):
    # there's a significant amount of evidence.
    if ratio() >= threshold and len(clues) > 10:
        logger.warn(
'''The following results might be incorrect.  A possible explanation could be
because the remote host keeps changing its server version string.''')
'''The following results might be incorrect.  It could be
because the remote host keeps changing its server version string or because
halberd didn't have enough samples.''')

    return analyzed