Avoid pyflakes crash