reciprocity/ggrc-core — pull request #1917 by Smotko (2014-10-20 17:09:40+00:00)
Title: Bugfix: cycle state was not propagating correctly for tgs w/o objects

Finishing a task without an object caused the cycle task group and cycle to go into verified state. This was because children_varified/children_finished were not corrected because the loop didn't execute. Adding len(children) makes sure the loop executes at least once, before setting the new state.