some styling
make the patch.py stuff conform to the PEP-8 function naming standards