Parts API: Minor PEP8 fixes.