flake8 fixes

Minor style changes to make flake8 pass.

Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>