ooici/coi-services — pull request #289 by lukecampbell (2012-09-28 13:46:28+00:00)
Title: Luke: NoneType problem with ProcessStateGate

If in_desired_state is called before a process is scheduled, the
read_process will return None. When the method is called it will raise
a AttributeError, Nonetype has no attribute process_state.

This catches this case and simply returns False