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

Commit 41bcf3e4 authored by Tao Bao's avatar Tao Bao
Browse files

Fix build.

Change-Id: Id3eb4821a3c3061063a00294bfa268693c773eb8
parent 608d9d24
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -204,9 +204,9 @@ class SparseImage(object):
    assert zero_blocks or nonzero_blocks

    if zero_blocks:
      out["__ZERO"] = RangeSet(data=zero_blocks)
      out["__ZERO"] = rangelib.RangeSet(data=zero_blocks)
    if nonzero_blocks:
      out["__NONZERO"] = RangeSet(data=nonzero_blocks)
      out["__NONZERO"] = rangelib.RangeSet(data=nonzero_blocks)

  def ResetFileMap(self):
    """Throw away the file map and treat the entire image as