Fix the error in sparse_img.py
Bug: 22046423 Change-Id: I9c257002c405277557974fadfe27942c38c3cd04
This commit is contained in:
parent
bebd3cfbf9
commit
2b4ff174ff
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class SparseImage(object):
|
||||||
clobbered_blocks."""
|
clobbered_blocks."""
|
||||||
ranges = self.care_map
|
ranges = self.care_map
|
||||||
if not include_clobbered_blocks:
|
if not include_clobbered_blocks:
|
||||||
ranges.subtract(self.clobbered_blocks)
|
ranges = ranges.subtract(self.clobbered_blocks)
|
||||||
h = sha1()
|
h = sha1()
|
||||||
for d in self._GetRangeData(ranges):
|
for d in self._GetRangeData(ranges):
|
||||||
h.update(d)
|
h.update(d)
|
||||||
|
|
Loading…
Reference in a new issue