MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / std_msg

Function std_msg

scripts/kconfig/kconfiglib.py:6358–6365  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

6356 return
6357
6358 def std_msg(e):
6359 # "Upcasts" a _KconfigIOError to an IOError, removing the custom
6360 # __str__() message. The standard message is better here.
6361 #
6362 # This might also convert an OSError to an IOError in obscure cases,
6363 # but it's probably not a big deal. The distinction is shaky (see
6364 # PEP-3151).
6365 return IOError(e.errno, e.strerror, e.filename)
6366
6367 old_warn_assign_override = kconf.warn_assign_override
6368 old_warn_assign_redun = kconf.warn_assign_redun

Callers 1

load_allconfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected