Fix remaining pep8 and pyflakes errors

Signed-off-by: Laurent Fazio <laurent.fazio@la-fenouillette.fr>