fixes bug 983194 - pyflakes 2014 spring cleanup

anybody r?

If this passes tests it doesn't actually need review, right?