diff --git a/lib/techniques/error/use.py b/lib/techniques/error/use.py index 08399cca4..773824250 100644 --- a/lib/techniques/error/use.py +++ b/lib/techniques/error/use.py @@ -332,7 +332,7 @@ def errorUse(expression, dump=False): stopLimit = int(count) infoMsg = "used SQL query returns " - infoMsg += "%d entries" % stopLimit + infoMsg += "%d %s" % (stopLimit, "entries" if stopLimit > 1 else "entry") logger.info(infoMsg) elif count and not count.isdigit(): diff --git a/lib/techniques/union/use.py b/lib/techniques/union/use.py index 795443b86..7e68fb2d0 100644 --- a/lib/techniques/union/use.py +++ b/lib/techniques/union/use.py @@ -258,7 +258,7 @@ def unionUse(expression, unpack=True, dump=False): stopLimit = int(count) infoMsg = "used SQL query returns " - infoMsg += "%d entries" % stopLimit + infoMsg += "%d %s" % (stopLimit, "entries" if stopLimit > 1 else "entry") logger.info(infoMsg) elif count and (not isinstance(count, basestring) or not count.isdigit()):