

def get_inactive_domains(self):
    vms = []
    for host in self.hosts:
        conn = host['conn']
        domains = conn.listDefinedDomains()
        for domain in domains:
            host.append({
                'name': domain,
                'state': 'shut off',
                'host': host['name'],
            })
    return vms

dataset/ETHPy150Open mizzy/maglica/maglica/virt.py Virt.get_inactive_domains/VarMisuse@46/57 `vms`->`host`