am ca8fb0f2: am c9fcdae2: Merge "Fix the error in sparse_img.py"

* commit 'ca8fb0f21f3b4b91d60e0678b512f59167d79fda':
  Fix the error in sparse_img.py
This commit is contained in:
Tao Bao 2015-06-24 02:01:11 +00:00 committed by Android Git Automerger
commit 8adebf62f8
1 changed files with 1 additions and 1 deletions

View File

@ -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)