

def _parse_host_entry(self, host_data):
    if ('name' not in host_data):
        raise BootstrapSourceError((self.ERROR_PREFIX + "Missing key 'name' on host item"))
    if ('cdn' not in host_data):
        raise BootstrapSourceError((self.ERROR_PREFIX + "Missing key 'cdn' on host item"))
    host = {
        'hostname': host['name'],
        'cdn': host_data['cdn'],
    }
    if ('ssl' in host_data):
        host['ssl'] = host_data['ssl']
    self.hosts[host['hostname']] = host

dataset/ETHPy150Open CacheBrowser/cachebrowser/cachebrowser/bootstrap.py LocalBootstrapSource._parse_host_entry/VarMisuse@64/118 `host_data`->`host`