Module: check_mk
Branch: master
Commit: 4d1ebb77a87c2427de854241d4e385954f7baa30
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4d1ebb77a87c24…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Fri Mar 15 09:39:48 2019 +0100
mk_filestats.py: minor change for python 2.6 compat
Change-Id: I9cd53a6b6e65427ab99934d5891b2febba21fec0
---
agents/plugins/mk_filestats.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/plugins/mk_filestats.py b/agents/plugins/mk_filestats.py
index be07131..35308a5 100755
--- a/agents/plugins/mk_filestats.py
+++ b/agents/plugins/mk_filestats.py
@@ -494,7 +494,7 @@ def iter_config_section_dicts(cfg_file=None):
for section_name in config.sections():
options = config.options(section_name)
- yield section_name, {k: config.get(section_name, k) for k in options}
+ yield section_name, dict((k, config.get(section_name, k)) for k in options)
def main():