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)