minor update

This commit is contained in:
Miroslav Stampar 2010-12-08 14:33:10 +00:00
parent 95b48746a6
commit 40fadf2f35
2 changed files with 3 additions and 3 deletions

View File

@ -324,7 +324,7 @@ class Connect:
return page, responseHeaders
@staticmethod
def queryPage(value=None, place=None, content=False, getSeqMatcher=False, silent=False, method=None, timeBasedCompare=False, auxHeaders=None, response=False, raise404=None):
def queryPage(value=None, place=None, content=False, getSeqMatcher=False, silent=False, method=None, timeBasedCompare=False, noteResponseTime=True, auxHeaders=None, response=False, raise404=None):
"""
This method calls a function to get the target url page content
and returns its page MD5 hash or a boolean value in case of
@ -422,7 +422,7 @@ class Connect:
if timeBasedCompare:
return wasLastRequestDelayed()
else:
elif noteResponseTime:
kb.responseTimes.append(kb.lastQueryDuration)
if content or response:

View File

@ -451,7 +451,7 @@ def goStacked(expression, silent=False):
logger.debug(debugMsg)
payload = agent.payload(newValue=query)
page, _ = Request.queryPage(payload, content=True, silent=silent)
page, _ = Request.queryPage(payload, content=True, silent=silent, noteResponseTime=False)
return payload, page