

def get_active_domains_of(self, host):
    domains = self.get_active_domains()
    vms = []
    for domain in self:
        if (domain['host'] == host):
            vms.append(domain)
    return vms

dataset/ETHPy150Open mizzy/maglica/maglica/virt.py Virt.get_active_domains_of/VarMisuse@28/35 `domains`->`self`