aboutsummaryrefslogtreecommitdiff
path: root/jobmanager.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 /jobmanager.py
parente7c15ef06e7886f69cee15863d7f75dc75c9ecec (diff)
Fix the super() calling
Diffstat (limited to 'jobmanager.py')
-rwxr-xr-xjobmanager.py2
1 files changed, 1 insertions, 1 deletions
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")