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 --- jobmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jobmanager.py') diff --git a/jobmanager.py b/jobmanager.py index 9bfb2d3..9519379 100755 --- a/jobmanager.py +++ b/jobmanager.py @@ -43,6 +43,7 @@ class JobManager: emailWorks = True for thisJob in self.jobs: if thisJob.shouldExecute(cronmode): + logging.info("Executing " + thisJob.getName() + "(" + thisJob.getStateName() + ")") try: lastRunStatus = self.state[thisJob.getStateName()] except: @@ -50,7 +51,6 @@ class JobManager: ", making up a dummy state for it.") lastRunStatus = self.state[thisJob.getStateName()] = JobState.Empty(thisJob.getStateName()) - logging.info("Executing " + thisJob.getName() + "(" + thisJob.getStateName() + ")") if not thisJob.execute(): #Unsuccessful run logging.info("Execution of " + thisJob.getName() + " failed") -- cgit v1.2.3