/* Import the Python module. */
if (!(d->py_mod = PyImport_ImportModule(name))) {
/* TODO: Report exception message/traceback to err/dbg. */
srd_warn("decoder: %s: import of '%s' failed", __func__, name);
PyErr_Print();
PyErr_Clear();
/* Import the Python module. */
if (!(d->py_mod = PyImport_ImportModule(name))) {
/* TODO: Report exception message/traceback to err/dbg. */
srd_warn("decoder: %s: import of '%s' failed", __func__, name);
PyErr_Print();
PyErr_Clear();