A few pyflakes fixes