def GetChild(node, tag):
  for child in node.getchildren():
    if GetTag(child) == tag:
      return child
This version assigns a weight of 1 to all hosts, making selection
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/xml_parser_utils.py/GetChild--crossover with--dataset/ETHPy150Open nii-cloud/dodai-compute/nova/scheduler/abstract_scheduler.py/AbstractScheduler.weigh_hosts