util/unpack_ftb: Fix semantic error
`map()` returns `list` in python2, while returns iterable object in
python3.
In python3, using `list()` to wrap the output from `map()` is more
natural.
BRANCH=master
TEST=None
@@ -81,7 +81,7 @@ def main():
for key, _ in header._fields_:
v = getattr(header, key)
if isinstance(v, ctypes.Array):
- print(key, map(hex, v))
+ print(key, list(map(hex, v)))
else:
print(key, hex(v))
