ooici/pyon — pull request #9 by ifreecarve (2011-12-14 23:38:26+00:00)
Title: prevent incorrect "OK" message in interface validation output

added what seem to be missing lines that prevent duplicate messages about service validation.

currently, found_error is initialized, but never assigned to.
https://github.com/ooici/pyon/blob/master/scripts/generate_interfaces.py#L721

when an error is detected, the service report is printed once with the error and once again with "OK".

this patch suppresses the "OK" message if there is an error by putting in the "found_error = True" lines that were probably intended to be there in the first place.