fix pyflakes not valid in linux