1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 14:16:00 +00:00

Plugin monit_parser: fix style issues

This commit is contained in:
Lars Kruse 2018-03-27 04:55:14 +02:00
parent 417bebc316
commit 7f3ce96632

View file

@ -61,8 +61,8 @@ MONIT_XML_URL = ("http://{host}:{port}/_status?format=xml"
def sanitize(s): def sanitize(s):
OK_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789" ok_chars = "abcdefghijklmnopqrstuvwxyz0123456789"
return "".join([char for char in s if char in OK_CHARS]) return "".join([char for char in s if char in ok_chars])
def get_monit_status_xml(): def get_monit_status_xml():