patman: Correct pylint errors