Module: check_mk
Branch: master
Commit: 9a001c075887cd23ddb8cc14b2c3676a8213223c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9a001c075887cd…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Mar 7 13:09:55 2019 +0100
Fixed formating
Change-Id: I7c7e06b080fbefa8cd8566023417f095f5e80035
---
cmk/gui/plugins/wato/check_mk_configuration.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmk/gui/plugins/wato/check_mk_configuration.py
b/cmk/gui/plugins/wato/check_mk_configuration.py
index 58dc6c9..d900ecc 100644
--- a/cmk/gui/plugins/wato/check_mk_configuration.py
+++ b/cmk/gui/plugins/wato/check_mk_configuration.py
@@ -4957,8 +4957,8 @@ def get_snmp_checktypes():
def get_snmp_section_names():
checks = watolib.check_mk_local_automation("get-check-information")
snmp_section_names = set(cn.split(".", 1)[0] for (cn, c) in checks.items()
if c['snmp'])
- section_choices = [ (sn, sn) for sn in snmp_section_names ]
- return [ (None, _('All SNMP Checks')) ] + sorted(section_choices)
+ section_choices = [(sn, sn) for sn in snmp_section_names]
+ return [(None, _('All SNMP Checks'))] + sorted(section_choices)
@rulespec_registry.register