Minor modification

This commit is contained in:
Miroslav Stampar
2020-01-25 16:33:48 +01:00
parent 35fa710eed
commit 6f54be987f
3 changed files with 7 additions and 7 deletions

View File

@@ -340,9 +340,9 @@ def errorUse(expression, dump=False):
else:
stopLimit = int(count)
infoMsg = "used SQL query returns "
infoMsg += "%d %s" % (stopLimit, "entries" if stopLimit > 1 else "entry")
logger.info(infoMsg)
debugMsg = "used SQL query returns "
debugMsg += "%d %s" % (stopLimit, "entries" if stopLimit > 1 else "entry")
logger.debug(debugMsg)
elif count and not count.isdigit():
warnMsg = "it was not possible to count the number "