summaryrefslogtreecommitdiff
path: root/scripts/update_payload/checker.py
diff options
context:
space:
mode:
authorchrome-bot <chrome-bot@chromium.org>2018-06-05 15:59:36 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-06-05 15:59:36 -0700
commit8af23dfa874cf98a5ebbfc86c7783431002949c4 (patch)
treec08ee47a1c7bd35b22b9882ed34f524cbb0c9d72 /scripts/update_payload/checker.py
parent0eae427a1dac5d2896a388e5a94aad5b52079371 (diff)
parent3538a883700a86c8224bff075e1cc4bab552d2ed (diff)
Merge commit '3538a883700a86c8224bff075e1cc4bab552d2ed' into patch_branch
Change-Id: I48fa7c6e8d3977813623d05353bb3c005d19ba83
Diffstat (limited to 'scripts/update_payload/checker.py')
-rw-r--r--scripts/update_payload/checker.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/update_payload/checker.py b/scripts/update_payload/checker.py
index 48ed0f40..68c70d45 100644
--- a/scripts/update_payload/checker.py
+++ b/scripts/update_payload/checker.py
@@ -336,7 +336,7 @@ class PayloadChecker(object):
self.new_kernel_fs_size = 0
self.minor_version = None
# TODO(*): When fixing crbug.com/794404, the major version should be
- # correclty handled in update_payload scripts. So stop forcing
+ # correctly handled in update_payload scripts. So stop forcing
# major_verions=1 here and set it to the correct value.
self.major_version = 1
@@ -742,7 +742,7 @@ class PayloadChecker(object):
self.block_size,
op_name + '.data_length', 'dst')
else:
- # Check: data_length must be smaller than the alotted dst blocks.
+ # Check: data_length must be smaller than the allotted dst blocks.
if data_length >= total_dst_blocks * self.block_size:
raise error.PayloadError(
'%s: data_length (%d) must be less than allotted dst block '
@@ -867,7 +867,7 @@ class PayloadChecker(object):
if data_length is None:
raise error.PayloadError('%s: missing data_{offset,length}.' % op_name)
- # Check: data_length is strictly smaller than the alotted dst blocks.
+ # Check: data_length is strictly smaller than the allotted dst blocks.
if data_length >= total_dst_blocks * self.block_size:
raise error.PayloadError(
'%s: data_length (%d) must be smaller than allotted dst space '