Fix pyflakes warnings (that appear on travis, but not on my local box :(