MCPcopy Create free account
hub / github.com/OpenCCU/OpenCCU / std_msg

Function std_msg

buildroot-external/scripts/kconfiglib.py:6287–6294  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

6285 return
6286
6287 def std_msg(e):
6288 # "Upcasts" a _KconfigIOError to an IOError, removing the custom
6289 # __str__() message. The standard message is better here.
6290 #
6291 # This might also convert an OSError to an IOError in obscure cases,
6292 # but it's probably not a big deal. The distinction is shaky (see
6293 # PEP-3151).
6294 return IOError(e.errno, e.strerror, e.filename)
6295
6296 old_warn_assign_override = kconf.warn_assign_override
6297 old_warn_assign_redun = kconf.warn_assign_redun

Callers 1

load_allconfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected