PEP8 Cleaning on pacemaker.py