fix for all that stable, dynamic mambo jambo :)

This commit is contained in:
Miroslav Stampar
2010-11-04 16:44:34 +00:00
parent f1f7e0bfe0
commit e1cec8c02b
5 changed files with 13 additions and 6 deletions

View File

@@ -15,7 +15,6 @@ from lib.core.common import wasLastRequestError
from lib.core.data import conf
from lib.core.data import kb
from lib.core.data import logger
from lib.core.session import setMatchRatio
def comparison(page, headers=None, getSeqMatcher=False, pageLength=None):
if page is None and pageLength is None:
@@ -94,9 +93,6 @@ def comparison(page, headers=None, getSeqMatcher=False, pageLength=None):
logger.debug("setting match ratio to default value 0.900")
conf.matchRatio = 0.900
if conf.matchRatio is not None:
setMatchRatio()
# If it has been requested to return the ratio and not a comparison
# response
if getSeqMatcher: