code cleanup

This commit is contained in:
Bernardo Damele 2012-03-16 17:27:24 +00:00
parent a1c943fc79
commit 942d9e4fa8

View File

@ -56,7 +56,7 @@ def comparison(page, headers, code=None, getRatioValue=False, pageLength=None):
if page: if page:
# In case of an DBMS error page return None # In case of an DBMS error page return None
if not kb.negativeLogic and kb.errorIsNone and (wasLastRequestDBMSError() or wasLastRequestHTTPError()): if checkNegativeLogic(kb.errorIsNone and (wasLastRequestDBMSError() or wasLastRequestHTTPError())):
return None return None
# Dynamic content lines to be excluded before comparison # Dynamic content lines to be excluded before comparison