pep 8 clean up on tomcat state
Merge pull request #6541 from michaelrice/tc-state-pep8

pep 8 clean up on tomcat state