From 6a62a78b0a00f8c6019e6df733c448eac24dc050 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Fri, 8 Jan 2010 23:50:06 +0000 Subject: [PATCH] More generic --- lib/core/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/common.py b/lib/core/common.py index b45c31132..6639cef9a 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -622,7 +622,7 @@ def expandAsteriskForColumns(expression): logger.info(infoMsg) return expression - + def getRange(count, dump=False, plusOne=False): count = int(count) indexRange = None @@ -636,7 +636,7 @@ def getRange(count, dump=False, plusOne=False): if isinstance(conf.limitStart, int) and conf.limitStart > 0 and conf.limitStart <= limitStop: limitStart = conf.limitStart - if kb.dbms == "Oracle" or plusOne: + if plusOne: indexRange = range(limitStart, limitStop + 1) else: indexRange = range(limitStart - 1, limitStop)