Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9fcdae2 authored by Tao Bao's avatar Tao Bao Committed by Gerrit Code Review
Browse files

Merge "Fix the error in sparse_img.py"

parents 83aca79b 10955575
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)