Skip to content
Success

Changes

Summary

  1. esim/http_json_api: add missing check (details)
Commit 148d0a6f90f0b3d34a5172bce6bdd2856fd76612 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