Skip to content
Snippets Groups Projects
Commit 1c5ada33 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Friendlier dump of fission partition types.

parent b889ea6a
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,11 @@ def print_info(obj, info_cls):
except:
info_value = "<error>"
print("%s: %s" % (info_name, info_value))
if info_cls == cl.device_info and info_name == "PARTITION_TYPES_EXT":
print("%s: %s" % (info_name, [
cl.device_partition_property_ext.to_string(v) for v in info_value]))
else:
print("%s: %s" % (info_name, info_value))
for platform in cl.get_platforms():
print(75*"=")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment