File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ def paramToDict(place, parameters=None):
105105 elif len (conf .testParameter ) != len (testableParameters .keys ()):
106106 for parameter in conf .testParameter :
107107 if not testableParameters .has_key (parameter ):
108- warnMsg = "the testable parameter '%s' " % parameter
108+ warnMsg = "the testable parameter '%s' " % parameter
109109 warnMsg += "you provided is not into the %s" % place
110110 logger .warn (warnMsg )
111111
@@ -538,10 +538,10 @@ def getRange(count, dump=False):
538538 limitStop = count
539539
540540 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 :
542542 limitStop = conf .limitStop
543543
544- if isinstance (conf .limitStart , int ) and conf .limitStart <= limitStop :
544+ if isinstance (conf .limitStart , int ) and conf .limitStart > 0 and conf . limitStart <= limitStop :
545545 limitStart = conf .limitStart
546546
547547 # TODO: also for Microsoft SQL Server in getColumns method?
You can’t perform that action at this time.
0 commit comments