From 41bcf3e425b9a1792b65b16b1c115b018348bde7 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Wed, 1 Jul 2015 19:38:34 -0700 Subject: [PATCH] Fix build. Change-Id: Id3eb4821a3c3061063a00294bfa268693c773eb8 --- tools/releasetools/sparse_img.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/releasetools/sparse_img.py b/tools/releasetools/sparse_img.py index d2955c3c52..78f305745d 100644 --- a/tools/releasetools/sparse_img.py +++ b/tools/releasetools/sparse_img.py @@ -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