|
@@ -900,7 +900,6 @@ class MantisNode:
|
|
|
nodes are discovered, the method is called by each node in dependency order.
|
|
nodes are discovered, the method is called by each node in dependency order.
|
|
|
The first argument MUST be the name of the method as a string.
|
|
The first argument MUST be the name of the method as a string.
|
|
|
"""
|
|
"""
|
|
|
- prGreen(self)
|
|
|
|
|
if args[0] == 'call_on_all_ancestors': raise RuntimeError("Very funny!")
|
|
if args[0] == 'call_on_all_ancestors': raise RuntimeError("Very funny!")
|
|
|
from .utilities import get_all_dependencies
|
|
from .utilities import get_all_dependencies
|
|
|
from collections import deque
|
|
from collections import deque
|
|
@@ -911,7 +910,6 @@ class MantisNode:
|
|
|
solved = set()
|
|
solved = set()
|
|
|
while can_solve:
|
|
while can_solve:
|
|
|
node = can_solve.pop()
|
|
node = can_solve.pop()
|
|
|
- print(node)
|
|
|
|
|
method = getattr(node, args[0])
|
|
method = getattr(node, args[0])
|
|
|
method(*args[0:], **kwargs)
|
|
method(*args[0:], **kwargs)
|
|
|
solved.add(node)
|
|
solved.add(node)
|