From 9e232256f4f7c1dc849cc87a9aeac8c0c3ab8258 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 21 Jun 2011 18:29:23 +0000 Subject: [PATCH] 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) --- lib/techniques/error/use.py | 2 +- lib/techniques/union/use.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/techniques/error/use.py b/lib/techniques/error/use.py index 4ed145a55..ce7be2cec 100644 --- a/lib/techniques/error/use.py +++ b/lib/techniques/error/use.py @@ -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 = [] diff --git a/lib/techniques/union/use.py b/lib/techniques/union/use.py index 6f9af2557..745c942ba 100644 --- a/lib/techniques/union/use.py +++ b/lib/techniques/union/use.py @@ -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 = ""