Minor refactoring

This commit is contained in:
Bernardo Damele 2011-01-15 23:28:31 +00:00
parent 558f3894f4
commit 6e4b65a822
3 changed files with 1 additions and 8 deletions

View File

@ -35,7 +35,7 @@ def direct(query, content=True):
select = True
break
logger.debug("query: %s" % query)
logger.log(9, query)
if not select:
output = timeout(func=conf.dbmsConnector.execute, args=(query,), duration=conf.timeout, default=None)

View File

@ -492,10 +492,6 @@ def goStacked(expression, silent=False):
comment = queries[getIdentifiedDBMS()].comment.query
query = agent.prefixQuery("; %s" % expression)
query = agent.suffixQuery("%s;%s" % (query, comment))
debugMsg = "query: %s" % query
logger.debug(debugMsg)
payload = agent.payload(newValue=query)
page, _ = Request.queryPage(payload, content=True, silent=silent, noteResponseTime=False)

View File

@ -81,9 +81,6 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
else:
expressionUnescaped = unescaper.unescape(expression)
debugMsg = "query: %s" % expressionUnescaped
logger.debug(debugMsg)
if length and not isinstance(length, int) and length.isdigit():
length = int(length)