minor improvement

This commit is contained in:
Bernardo Damele 2013-11-19 00:24:47 +00:00
parent c37ad88283
commit 59b6791faa

View File

@ -198,7 +198,7 @@ def _goInferenceProxy(expression, fromUser=False, batch=False, unpack=True, char
if isNumPosStrValue(count): if isNumPosStrValue(count):
count = int(count) count = int(count)
if batch: if batch or count == 1:
stopLimit = count stopLimit = count
else: else:
message = "the SQL query provided can return " message = "the SQL query provided can return "