fix list comprehension
fix
remaining files
more remaining bug
fix more pyflakes error
Merge pull request #769 from memimo/pyflake

Fixes pyflakes' list comprehension error