pylint fixing for python 2