pep8 and flake8 fixups
don't use a local var
Merge pull request #18 from kissmetrics/linting

pep8 and flake8 fixups