Fix pyflakes warnings.
Fix pyflakes3 warnings.