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

This commit is contained in:
Tao Bao 2015-10-22 18:09:27 +00:00 committed by Gerrit Code Review
commit bcb9240a2b

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>