forked from openkylin/platform_build
am c9fcdae2: Merge "Fix the error in sparse_img.py"
* commit 'c9fcdae29dafc998f11ad49fec07d508879b8785': Fix the error in sparse_img.py
This commit is contained in:
commit
ca8fb0f21f
|
@ -125,7 +125,7 @@ class SparseImage(object):
|
|||
clobbered_blocks."""
|
||||
ranges = self.care_map
|
||||
if not include_clobbered_blocks:
|
||||
ranges.subtract(self.clobbered_blocks)
|
||||
ranges = ranges.subtract(self.clobbered_blocks)
|
||||
h = sha1()
|
||||
for d in self._GetRangeData(ranges):
|
||||
h.update(d)
|
||||
|
|
Loading…
Reference in New Issue