Skip to content

Commit 536d9a5

Browse files
committed
Minor language update
1 parent 0ce2128 commit 536d9a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/techniques/error/use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def errorUse(expression, dump=False):
332332
stopLimit = int(count)
333333

334334
infoMsg = "used SQL query returns "
335-
infoMsg += "%d entries" % stopLimit
335+
infoMsg += "%d %s" % (stopLimit, "entries" if stopLimit > 1 else "entry")
336336
logger.info(infoMsg)
337337

338338
elif count and not count.isdigit():

lib/techniques/union/use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def unionUse(expression, unpack=True, dump=False):
258258
stopLimit = int(count)
259259

260260
infoMsg = "used SQL query returns "
261-
infoMsg += "%d entries" % stopLimit
261+
infoMsg += "%d %s" % (stopLimit, "entries" if stopLimit > 1 else "entry")
262262
logger.info(infoMsg)
263263

264264
elif count and (not isinstance(count, basestring) or not count.isdigit()):

0 commit comments

Comments
 (0)