MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _warn_critical

Function _warn_critical

pager_lib/getmac/getmac.py:1387–1394  ·  view source on GitHub ↗
(err_msg)

Source from the content-addressed store, hash-verified

1385
1386
1387def _warn_critical(err_msg):
1388 # type: (str) -> None
1389 log.critical(err_msg)
1390 warnings.warn(
1391 "%s. NOTICE: this warning will likely turn into a raised exception in getmac 1.0.0!"
1392 % err_msg,
1393 RuntimeWarning,
1394 )
1395
1396
1397def initialize_method_cache(

Callers 2

initialize_method_cacheFunction · 0.85
_attempt_method_getFunction · 0.85

Calls 1

criticalMethod · 0.80

Tested by

no test coverage detected