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

Commit f2065c88 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "simg_dump.py: fix error for CHUNK_TYPE_FILL"

parents 9f7a19d0 dbf62d93
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ def main():
          curtype = format("Fill with 0x%08X" % (fill))
          if showhash:
            h = hashlib.sha1()
            data = fill_bin * (blk_sz / 4);
            data = fill_bin * (blk_sz // 4);
            for block in range(chunk_sz):
              h.update(data)
            curhash = h.hexdigest()