Commit 14b7d62f authored by Olof Svensson's avatar Olof Svensson

Add subScheme to representation

parent b34b5b22
......@@ -437,6 +437,13 @@ class Scheme(object):
node.load_handlers()
class SubScheme(Scheme, Node):
def __init__(self, nodes, links, description=None, error_handler=None):
Node.__init__(self, processing_pt=None, error_handler=error_handler)
Scheme.__init__(self, nodes=nodes, links=links, title='',
description=description)
def contains_control_nodes(nodes_list):
for _node in nodes_list:
if _node.endless or contains_control_nodes(_node.upstream_nodes):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment