Descriptionbisect-builds.py: Save cache in parent scope
Using 'cache = ...' always assigns ... to the local scope, while it
should be stored in the parent scope instead. Because of this oversight,
the cache only contained one list of revisions at any time, namely the
list of revisions for the current settings (e.g. "-a linux64" or "-l -a
linux64").
This patch fixed the issue by iterating over the cached dictionary and
copying the keys and values to the variable (in the parent scope).
R=rsesek@chromium.org
Committed: https://crrev.com/1c83605f861223ad3b744c0c6fc93f97d3d2b639
Cr-Commit-Position: refs/heads/master@{#330374}
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|