bug fix related to hash key error when requesting --increments range

This commit is contained in:
Philip Eisenlohr 2011-07-25 12:53:54 +00:00
parent 8cb8637d41
commit a58158fc7c
1 changed files with 4 additions and 1 deletions

View File

@ -1012,7 +1012,10 @@ else:
options.range[1]+1),
options.range[2] )
increments = map(lambda x: {False:incAtPosition[x],True:x}[options.getIncrements],locations) # build list of increments to process
if options.getIncrements: # build list of increments to process
increments = locations # from increment range
else:
increments = [incAtPosition[x] for x in locations] # from position range
time_start = time.time()