Implement a recursive validation api in the base Element class.
authorJosh Blum <josh@joshknows.com>
Sat, 5 Sep 2009 07:45:14 +0000 (00:45 -0700)
committerJosh Blum <josh@joshknows.com>
Sat, 5 Sep 2009 07:45:14 +0000 (00:45 -0700)
commit58cebfd63726dc2082ab31681afcd78e25c36132
tree680777d7ea8117e420c599177d76394e0efa00c3
parentd80add605536891da950126b25b16ab89d8e7cae
Implement a recursive validation api in the base Element class.

The rewrite and validate methods will invoke themselves on the child elements.
The error messages are now a super-list of element and child error messages.

As a side-effect, this cleans up code in base Block and Flowgraph class.
grc/base/Block.py
grc/base/Element.py
grc/base/FlowGraph.py