| Index: dashboard/dashboard/pinpoint/models/job.py
|
| diff --git a/dashboard/dashboard/pinpoint/models/job.py b/dashboard/dashboard/pinpoint/models/job.py
|
| index ebf63e87faf650f7860733b40877baa3f18b2c66..0228a25d29fec33e491cda5532ffae0f35c92518 100644
|
| --- a/dashboard/dashboard/pinpoint/models/job.py
|
| +++ b/dashboard/dashboard/pinpoint/models/job.py
|
| @@ -249,6 +249,7 @@ class _JobState(object):
|
| there's no way to pick additional Changes to try.
|
| """
|
| # This loop adds Changes to the _changes list while looping through it.
|
| + # The Change insertion simultaneously uses and modifies the list indices.
|
| # However, the loop index goes in reverse order and Changes are only added
|
| # after the loop index, so the loop never encounters the modified items.
|
| for index, change_b in reversed(tuple(self.Differences())):
|
|
|