fixed previous pyling violations refs #17382