Fixed getting VMs connected to NetVM (#172)

This commit is contained in:
Marek Marczykowski 2011-04-07 10:42:24 +02:00
parent 086f2720df
commit e9c6dc387e

View File

@ -1811,7 +1811,7 @@ class QubesVmCollection(dict):
while len(new_vms) > 0: while len(new_vms) > 0:
cur_vm = new_vms.pop() cur_vm = new_vms.pop()
for vm in cur_vm.connected_vms.values(): for vm in self[cur_vm].connected_vms.values():
if vm.qid not in dependend_vms_qid: if vm.qid not in dependend_vms_qid:
dependend_vms_qid.append(vm.qid) dependend_vms_qid.append(vm.qid)
if vm.is_netvm(): if vm.is_netvm():