aboutsummaryrefslogtreecommitdiff
path: root/jobs/JobBase.py
diff options
context:
space:
mode:
authorTom Ritter <tom@ritter.vg>2016-01-31 17:20:05 -0500
committerTom Ritter <tom@ritter.vg>2016-01-31 17:36:13 -0500
commit2fe68bac48427e687888fb8de13eea541d531610 (patch)
tree8f201b06840131b0ccfa1831f59bd1ac35471922 /jobs/JobBase.py
parente7c15ef06e7886f69cee15863d7f75dc75c9ecec (diff)
Fix the super() calling
Diffstat (limited to 'jobs/JobBase.py')
-rwxr-xr-xjobs/JobBase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/JobBase.py b/jobs/JobBase.py
index 416f28d..427dd17 100755
--- a/jobs/JobBase.py
+++ b/jobs/JobBase.py
@@ -21,10 +21,10 @@ class JobFailureNotificationFrequency:
EVERYHOUR = "hour"
ONSTATECHANGE = "state_change"
-class JobBase:
+class JobBase(object):
def __init__(self, config, *args):
self.config = config
- self.stateName = hashlib.sha1(self.getName() + "|" + "|".join(args)).hexdigest()
+ self.stateName = hashlib.sha1(self.getName() + "|" + "|".join([str(a) for a in args])).hexdigest()
""" Return a friendly name to identify this Job"""
def getName(self):