made jobs.py pep8 compliant