Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: f057c855a36216cb215428462886f50db48a9593
https://github.com/tribe29/checkmk/commit/f057c855a36216cb215428462886f50db…
Author: Dirk Mayer <71777632+dirkhub(a)users.noreply.github.com>
Date: 2022-10-18 (Tue, 18 Oct 2022)
Changed paths:
A .werks/14815
M cmk/base/plugins/agent_based/utils/fileinfo.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_fileinfo_utils.py
Log Message:
-----------
14815 FIX fix crash, when no pattern matches
When no file matched the pattern, "value" is None. Comparisons between NoneType
and integers are not allowed in newer Python versions.
Change-Id: I37a7e0bf0704d06bd585300bede54ad9fbc3efe2
closes: #517