ses module: tidy up to meet PEP8 better
Merge pull request #2538 from felixonmars/ses-tidy

PEP8 style fixes for SES. Fixes #2538.