def delete_omitfrom_jobs(self):
    'Removes jobs downstream of jobs specified by --omit-from.'
    if ((not self.omitrules) and (not self.omitfiles)):
        return
    downstream_jobs = list(self.downstream_of_omitfrom())
    for job in downstream_jobs:
        self.delete_job(job, recursive=False, add_dependencies=True)
Removes jobs downstream of jobs specified by --omit-from.
def delete_omitfrom_jobs(self):
    
    if ((not self.omitrules) and (not self.omitfiles)):
        return
    downstream_jobs = list(self.downstream_of_omitfrom())
    for job in downstream_jobs:
        self.delete_job(job, recursive=False, add_dependencies=True)