deleted unused code pyflakes