aboutsummaryrefslogtreecommitdiff
path: root/jobs/JobSpawner.py
diff options
context:
space:
mode:
authorTom Ritter <tom@ritter.vg>2016-01-31 13:22:08 -0600
committerTom Ritter <tom@ritter.vg>2016-01-31 13:22:08 -0600
commit3bea3bae59e7404b286b5bf97a6270270bfadd6c (patch)
treec9d1d7cf76681420587198d09abda761912c47c4 /jobs/JobSpawner.py
parent1a8b46d940d3a4bc06700d15307191bb10008ea6 (diff)
Refactor lots of things to allow you to be notified every so often, instead of every single time.
Diffstat (limited to 'jobs/JobSpawner.py')
-rwxr-xr-xjobs/JobSpawner.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/jobs/JobSpawner.py b/jobs/JobSpawner.py
index 3d09693..50f3043 100755
--- a/jobs/JobSpawner.py
+++ b/jobs/JobSpawner.py
@@ -1,5 +1,7 @@
#!/usr/bin/env python
class JobSpawner:
- def get_sub_jobs(self):
+ """OVERRIDE ME
+ Returns an array (or using 'yield') of Job objects to run"""
+ def get_sub_jobs(self, config):
pass