diff options
author | Caroline Tice <cmtice@chromium.org> | 2013-08-07 12:46:30 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-08-07 17:24:09 -0700 |
commit | 570b2ce931d40a335f3b02ed859b376040b5fb67 (patch) | |
tree | b4a3753e9a1100552a4839cbf03aa4130a32169e /crosperf/results_cache.py | |
parent | c1fb0f1051208907df137371f3d100132f19cf10 (diff) | |
download | toolchain-utils-570b2ce931d40a335f3b02ed859b376040b5fb67.tar.gz |
Initialize machine_id_checksum. Make unlocking unlocked machine a warning.
Fix issues causing errors in nightly tester: Attempting to use
machine_id_checksum when it hasn't been initialized; and attempting to
unlock an already unlocked machine causes a fatal error.
Change-Id: Ia149953d4e25c7abf97a189bb5fdd129de865c34
Reviewed-on: https://gerrit-int.chromium.org/42489
Reviewed-by: Yunlian Jiang <yunlian@google.com>
Commit-Queue: Caroline Tice <cmtice@google.com>
Tested-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'crosperf/results_cache.py')
-rw-r--r-- | crosperf/results_cache.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crosperf/results_cache.py b/crosperf/results_cache.py index 4178b467..e1bcdce8 100644 --- a/crosperf/results_cache.py +++ b/crosperf/results_cache.py @@ -412,6 +412,7 @@ class ResultsCache(object): else: image_path_checksum = hashlib.md5(self.chromeos_image).hexdigest() + machine_id_checksum = "" if read and CacheConditions.SAME_MACHINE_MATCH not in self.cache_conditions: machine_id_checksum = "*" else: |