File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ def paramToDict(place, parameters=None):
105
105
elif len (conf .testParameter ) != len (testableParameters .keys ()):
106
106
for parameter in conf .testParameter :
107
107
if not testableParameters .has_key (parameter ):
108
- warnMsg = "the testable parameter '%s' " % parameter
108
+ warnMsg = "the testable parameter '%s' " % parameter
109
109
warnMsg += "you provided is not into the %s" % place
110
110
logger .warn (warnMsg )
111
111
@@ -538,10 +538,10 @@ def getRange(count, dump=False):
538
538
limitStop = count
539
539
540
540
if dump :
541
- if isinstance (conf .limitStop , int ) and conf .limitStop < count :
541
+ if isinstance (conf .limitStop , int ) and conf .limitStop > 0 and conf . limitStop < limitStop :
542
542
limitStop = conf .limitStop
543
543
544
- if isinstance (conf .limitStart , int ) and conf .limitStart <= limitStop :
544
+ if isinstance (conf .limitStart , int ) and conf .limitStart > 0 and conf . limitStart <= limitStop :
545
545
limitStart = conf .limitStart
546
546
547
547
# TODO: also for Microsoft SQL Server in getColumns method?
You can’t perform that action at this time.
0 commit comments