Fix pylint errors on 2014.7