pylint fixes for pull request #15009

pylint fixes for pull request #15009