Fix spacing, tabs, flake8 complaints.
Merge pull request #1014 from candlepin/awood/flake8

Fix spacing, tabs, flake8 complaints.