commit | 7a9397f6cf4d1a3b453848b3bf642674f5686bff | [log] [tgz] |
---|---|---|
author | Zhizhou Yang <zhizhouy@google.com> | Fri Apr 05 14:45:05 2019 -0700 |
committer | chrome-bot <chrome-bot@chromium.org> | Mon Apr 08 11:54:41 2019 -0700 |
tree | 74c91af657a80a4b7d0ee8a3b9afb0b187aaa1f1 | |
parent | 3e36a69f75b86489331e16a5099836ed780303b5 [diff] |
Fix 'result' variable referenced before assignment issue This issue is caused by lacking of coverage in code. When we are parsing json result, value/values doesn't exist in its filed_dict for a key, this issue will be hitten. TEST=Eliminated the error caused by this issue. BUG=chromium:929519 Change-Id: I81e4c0cf5f92c2dca9662ba86629355b3b048089 Reviewed-on: https://chromium-review.googlesource.com/1553681 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Zhizhou Yang <zhizhouy@google.com> Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
toolchain-utils
Various utilities used by the Chrome OS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.