aboutsummaryrefslogtreecommitdiff
path: root/jobs/JobSpawner.py
diff options
context:
space:
mode:
authorTom <tom@ritter.vg>2016-12-28 13:59:43 -0600
committerTom Ritter <tom@ritter.vg>2016-12-28 14:37:55 -0600
commit3e85f1d0d48f0fb65a83af6ce3fb4b6a08f0bb1a (patch)
tree43367c6c5c98bf31759e576bcf43efabd4772e57 /jobs/JobSpawner.py
parent50111ca74eaa5b14253814a9aa39e35b40480935 (diff)
Create an option that lets you require two failures before alerting.
Diffstat (limited to 'jobs/JobSpawner.py')
-rwxr-xr-xjobs/JobSpawner.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/jobs/JobSpawner.py b/jobs/JobSpawner.py
index 0765339..ff9744f 100755
--- a/jobs/JobSpawner.py
+++ b/jobs/JobSpawner.py
@@ -1,7 +1,7 @@
-#!/usr/bin/env python
-
-class JobSpawner:
- """OVERRIDE ME
- Returns an array (or using 'yield') of Job objects to run"""
- def get_sub_jobs(self, config):
- pass
+#!/usr/bin/env python
+
+class JobSpawner:
+ """OVERRIDE ME
+ Returns an array (or using 'yield') of Job objects to run"""
+ def get_sub_jobs(self, config):
+ pass