Skip to content
Success

Changes

Summary

  1. esim/http_json_api: add missing check (details)
Commit a1b891e6492bb5b58d968ba7719dfd85396335f8 by pmaier@sysmocom.de
esim/http_json_api: add missing check

The line actual_sec = func_ex_status.get('statusCodeData', None) suggests
that 'statusCodeData' may be None under normal circumstances. So let's guard
sec.update(actual_sec) so that we won't run into an exception in case
'statusCodeData' is not in func_ex_status.

Related: SYS#7825
Change-Id: I8a1a3cd5e029dba4a3aec1a64702e19b0d694ae2
The file was modifiedpySim/esim/http_json_api.py