mirror of
https://github.com/pengutronix/monitoring-check-systemd-service.git
synced 2025-07-25 14:54:35 +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')
|
_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):
|
class Systemd_Service(nagiosplugin.Resource):
|
||||||
"""One Systemd Service"""
|
"""One Systemd Service"""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user