STY: Minor fixes

Somehow these got past me in the last merged PR; I thought I checked Travis but I didn't. CC @alexjc, we try to follow (most) PEP8 rules.