Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
trace.byte_order = self._bo
# UUID
- if 'uuid' in trace_node:
+ if 'uuid' in trace_node and trace_node['uuid'] is not None:
uuidp = trace_node['uuid']
if not _is_str_prop(uuidp):
trace.uuid = uuidp
# packet header type
- if 'packet-header-type' in trace_node:
+ if 'packet-header-type' in trace_node and trace_node['packet-header-type'] is not None:
try:
ph_type = self._create_type(trace_node['packet-header-type'])
except Exception as e: