summaryrefslogtreecommitdiff
path: root/scripts/update_payload/checker.py
diff options
context:
space:
mode:
authorAmin Hassani <ahassani@chromium.org>2018-05-31 14:11:30 -0700
committerAmin Hassani <ahassani@chromium.org>2018-06-04 11:44:12 -0700
commit3538a883700a86c8224bff075e1cc4bab552d2ed (patch)
treecdaaf1a7f17ea4dbd3e9fe132e2c3208b646de48 /scripts/update_payload/checker.py
parentffbfdfb05d3ce4e9fe03aa103b63532870981771 (diff)
parent77ab7bdf2dcf7fd4aa982e654f359958ad7ab0c3 (diff)
Merge remote-tracking branch 'cros/upstream' into cros/master
BUG=chromium:815356 TEST=unittest TEST=precq TEST=cros flash Change-Id: I8d9c37411708d0cae61613b285123a090ce6deb1
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 '