summaryrefslogtreecommitdiff
path: root/scripts/update_payload/checker.py
diff options
context:
space:
mode:
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 c10eccef..7abf1785 100644
--- a/scripts/update_payload/checker.py
+++ b/scripts/update_payload/checker.py
@@ -860,7 +860,7 @@ class PayloadChecker(object):
'%s: total src blocks (%d) != total dst blocks (%d).' %
(op_name, total_src_blocks, total_dst_blocks))
- def _CheckSourceOperation(self, op, total_src_blocks, op_name):
+ def _CheckAnySourceOperation(self, op, total_src_blocks, op_name):
"""Specific checks for SOURCE_* operations.
Args:
@@ -976,11 +976,11 @@ class PayloadChecker(object):
elif op.type == common.OpType.SOURCE_COPY and self.minor_version in (2, 3):
self._CheckSourceCopyOperation(data_offset, total_src_blocks,
total_dst_blocks, op_name)
- self._CheckSourceOperation(op, total_src_blocks, op_name)
+ self._CheckAnySourceOperation(op, total_src_blocks, op_name)
elif (op.type == common.OpType.SOURCE_BSDIFF and
self.minor_version in (2, 3)):
self._CheckBsdiffOperation(data_length, total_dst_blocks, op_name)
- self._CheckSourceOperation(op, total_src_blocks, op_name)
+ self._CheckAnySourceOperation(op, total_src_blocks, op_name)
else:
raise error.PayloadError(
'Operation %s (type %d) not allowed in minor version %d' %