Merge "blockimgdiff.py: Fix the script error for BBOTA v1."

am: bcb9240a2b

* commit 'bcb9240a2b168c711e4a9543e9d34f9c58a6f0c2':
  blockimgdiff.py: Fix the script error for BBOTA v1.
This commit is contained in:
Tao Bao
2015-10-22 18:12:56 +00:00
committed by android-build-merger

View File

@@ -355,7 +355,7 @@ class BlockImageDiff(object):
free_string = []
if self.version == 1:
src_str = xf.src_ranges.to_string_raw()
src_str = xf.src_ranges.to_string_raw() if xf.src_ranges else ""
elif self.version >= 2:
# <# blocks> <src ranges>