Minor refactoring

This commit is contained in:
Miroslav Stampar
2019-05-30 22:55:54 +02:00
parent f8e9f9c87d
commit 257fa3e9e4
14 changed files with 19 additions and 19 deletions

View File

@@ -54,11 +54,11 @@ class Custom(object):
return output
elif not isStackingAvailable() and not conf.direct:
warnMsg = "execution of non-query SQL statements is only "
warnMsg += "available when stacked queries are supported"
logger.warn(warnMsg)
warnMsg = "execution of non-query SQL statements is only "
warnMsg += "available when stacked queries are supported"
logger.warn(warnMsg)
return None
return None
else:
if sqlType:
debugMsg = "executing %s query: '%s'" % (sqlType if sqlType is not None else "SQL", query)