def handle_protected(self, job):
    ' Write-protect output files that are marked with protected(). '
    for f in job.expanded_output:
        if (f in job.protected_output):
            logger.info('Write-protecting output file {}.'.format(f))
            f.protect()
Write-protect output files that are marked with protected().
def handle_protected(self, job):
    '  '
    for f in job.expanded_output:
        if (f in job.protected_output):
            logger.info('Write-protecting output file {}.'.format(f))
            f.protect()