added one new quick check for multiple target(s) mode

This commit is contained in:
Miroslav Stampar
2011-01-03 08:32:06 +00:00
parent 8e1927fe31
commit 8625494ff2
4 changed files with 47 additions and 7 deletions

View File

@@ -1963,3 +1963,8 @@ def showHttpErrorCodes():
if code in httplib.responses else '?', count)\
for code, count in kb.httpErrorCodes.items())
logger.warn(warnMsg)
def getComparePageRatio(firstPage, secondPage):
conf.seqMatcher.set_seq1(firstPage)
conf.seqMatcher.set_seq2(secondPage)
return conf.seqMatcher.quick_ratio()