From 3bea3bae59e7404b286b5bf97a6270270bfadd6c Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Sun, 31 Jan 2016 13:22:08 -0600 Subject: Refactor lots of things to allow you to be notified every so often, instead of every single time. --- jobs/JobSpawner.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'jobs/JobSpawner.py') 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 -- cgit v1.2.3