Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 66ad4d7c684a3de1ad85a2fdf6c9d29c96760df0
https://github.com/tribe29/checkmk/commit/66ad4d7c684a3de1ad85a2fdf6c9d29c9…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-06-02 (Thu, 02 Jun 2022)
Changed paths:
M agents/plugins/mk_logwatch.py
M cmk/core_helpers/_base.py
M cmk/core_helpers/cache.py
M cmk/gui/context.py
M cmk/gui/watolib/config_sync.py
M cmk/special_agents/agent_mobileiron.py
M cmk/special_agents/agent_proxmox_ve.py
M cmk/special_agents/utils/agent_common.py
M cmk/special_agents/utils/misc.py
M cmk/utils/cpu_tracking.py
M cmk/utils/livestatus_helpers/testing.py
M cmk/utils/mailbox.py
M cmk/utils/profile.py
M cmk/utils/timeout.py
Log Message:
-----------
Simpler typing for __exit__ in context managers
The pattern exists in the typesheds to the stdlib, see,
for example,
*
https://github.com/python/typeshed/blob/master/stdlib/contextlib.pyi#L140
The name `exc_info` comes from stdlib as well, see,
*
https://docs.python.org/3/library/sys.html#sys.exc_info
Change-Id: Ic745a63c7289845e1676d46e74e6c0439d220a2e