mirror of
https://github.com/pengutronix/monitoring-check-systemd-service.git
synced 2025-07-24 06:14:40 +02:00
remove unused Exception
(got from copy'n'paste)
This commit is contained in:
parent
ca9806c67b
commit
b966e7cc01
@ -21,12 +21,6 @@ except ImportError as e:
|
||||
|
||||
_log = logging.getLogger('nagiosplugin')
|
||||
|
||||
class E_MyException(Exception):
|
||||
def __init__(self, value):
|
||||
self.value = value
|
||||
def __str__(self):
|
||||
return "do some things with value %r" %repr(self.value)
|
||||
|
||||
class Systemd_Service(nagiosplugin.Resource):
|
||||
"""One Systemd Service"""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user