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

@@ -261,9 +261,9 @@ def unionUse(expression, unpack=True, 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 isinstance(count, six.string_types) or not count.isdigit()):
warnMsg = "it was not possible to count the number "