Pylint warning message cleanup
Remove unused condition block