Flake fixes

pyflake fixes for PR #88