Module: check_mk
Branch: master
Commit: 227cdf3d0da4ec2872fc62b9a50e6eb8bf758f99
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=227cdf3d0da4ec…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Jul 9 14:09:25 2018 +0200
Fixed a few useless-super-delegation warnings.
Change-Id: I75514983d310385dc70b332578f95214c3b5dd8f
---
active_checks/check_mailboxes | 3 +--
cmk_base/core_config.py | 4 ----
cmk_base/core_nagios.py | 3 ---
3 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/active_checks/check_mailboxes b/active_checks/check_mailboxes
index 0fe7af7..d32689d 100755
--- a/active_checks/check_mailboxes
+++ b/active_checks/check_mailboxes
@@ -88,8 +88,7 @@ class MailList(object):
class LoginError(Exception):
- def __init__(self, *args, **kwargs):
- super(LoginError, self).__init__(*args, **kwargs)
+ pass
class ImapWrapper(object):
diff --git a/cmk_base/core_config.py b/cmk_base/core_config.py
index c179dbe..c06c768 100644
--- a/cmk_base/core_config.py
+++ b/cmk_base/core_config.py
@@ -44,10 +44,6 @@ class MonitoringCore(object):
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
- def __init__(self):
- super(MonitoringCore, self).__init__()
-
- @abc.abstractmethod
def create_config(self):
pass
diff --git a/cmk_base/core_nagios.py b/cmk_base/core_nagios.py
index 933383a..6850f89 100644
--- a/cmk_base/core_nagios.py
+++ b/cmk_base/core_nagios.py
@@ -46,9 +46,6 @@ import cmk_base.check_api_utils as check_api_utils
class NagiosCore(core_config.MonitoringCore):
- def __init__(self):
- super(NagiosCore, self).__init__()
-
def create_config(self):
with file(cmk.paths.nagios_objects_file, "w") as out:
create_config(out, None)