minor update

This commit is contained in:
Miroslav Stampar
2010-11-06 08:31:11 +00:00
parent 1a708cf12d
commit 3619fc5127
3 changed files with 2 additions and 12 deletions

View File

@@ -10,7 +10,6 @@ See the file 'doc/COPYING' for copying permission
import re
from lib.core.common import getFilteredPageContent
from lib.core.common import preparePageForLineComparison
from lib.core.common import wasLastRequestError
from lib.core.data import conf
from lib.core.data import kb
@@ -98,9 +97,9 @@ def comparison(page, headers=None, getSeqMatcher=False, pageLength=None):
if getSeqMatcher:
return ratio
# In case of an DBMS error page return False
# In case of an DBMS error page return None
elif wasLastRequestError():
return False
return None
elif ratio == 1:
return True