diff options
author | Tom Ritter <tom@ritter.vg> | 2016-01-31 17:20:05 -0500 |
---|---|---|
committer | Tom Ritter <tom@ritter.vg> | 2016-01-31 17:36:13 -0500 |
commit | 2fe68bac48427e687888fb8de13eea541d531610 (patch) | |
tree | 8f201b06840131b0ccfa1831f59bd1ac35471922 /jobs/TCPServerChecker.py | |
parent | e7c15ef06e7886f69cee15863d7f75dc75c9ecec (diff) |
Fix the super() calling
Diffstat (limited to 'jobs/TCPServerChecker.py')
-rwxr-xr-x | jobs/TCPServerChecker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/TCPServerChecker.py b/jobs/TCPServerChecker.py index bdb914c..eaf6704 100755 --- a/jobs/TCPServerChecker.py +++ b/jobs/TCPServerChecker.py @@ -14,13 +14,13 @@ class TCPServerChecker(JobSpawner.JobSpawner): class ServerChecker(JobBase.JobBase):
def __init__(self, config, ip, port, friendlyName, frequency, failureNotificationFrequency):
- JobBase.JobBase.__init__(self, config, ip, port, friendlyName, frequency, failureNotificationFrequency)
self.config = config
self.ip = ip
self.port = port
self.friendlyName = friendlyName + "(" + self.ip + ":" + str(self.port) + ")"
self.frequency = frequency
self.failureNotificationFrequency = failureNotificationFrequency
+ super(TCPServerChecker.ServerChecker, self).__init__(config, ip, port, friendlyName, frequency, failureNotificationFrequency)
def getName(self):
return str(self.__class__) + " for " + self.friendlyName
|