From d434047482f64304e2153527104789bd6aca45bb Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 5 Sep 2011 09:28:40 +0000 Subject: [PATCH] minor bug fix --- 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 36779e0ea..972ed3d1b 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1323,9 +1323,9 @@ def getRange(count, dump=False, plusOne=False): limitStart = conf.limitStart if plusOne: - indexRange = range(limitStart, limitStop + 1) + indexRange = xrange(limitStart, limitStop + 1) else: - indexRange = range(limitStart - 1, limitStop) + indexRange = xrange(limitStart - 1, limitStop) return indexRange