Correct logic error, the if condition produces KeyError instead
of verifying if signal is in valid_signals dictionary.

	modified:   tomcat.py