reverting that last commit because there is a mess with default dumping (startLimit is set to 0 which is not so friendly with --start and --stop logic)

This commit is contained in:
Miroslav Stampar 2011-06-21 18:29:23 +00:00
parent 3536320fc9
commit 9e232256f4
2 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ def errorUse(expression, expected=None, resumeValue=True, dump=False):
try:
threadData = getCurrentThreadData()
threadData.shared.limits = range(startLimit, stopLimit+1)
threadData.shared.limits = range(startLimit, stopLimit)
numThreads = min(conf.threads, len(threadData.shared.limits))
threadData.shared.outputs = []

View File

@ -261,7 +261,7 @@ def unionUse(expression, unpack=True, dump=False):
try:
threadData = getCurrentThreadData()
threadData.shared.limits = range(startLimit, stopLimit+1)
threadData.shared.limits = range(startLimit, stopLimit)
numThreads = min(conf.threads, len(threadData.shared.limits))
threadData.shared.value = ""