

def get_childnode(self, name):
    '\n        Return the childnode with this name or raise ``AttributeError``.\n        '
    for c in self.get_childnodes():
        if (Inspector(c).get_name() == name):
            return c
    raise AttributeError('Childnode not found.')

dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/inspection/inspector.py Inspector.get_childnode/original