From 2fe68bac48427e687888fb8de13eea541d531610 Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Sun, 31 Jan 2016 17:20:05 -0500 Subject: Fix the super() calling --- jobs/JobBase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jobs/JobBase.py') 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): -- cgit v1.2.3