Do the right thing on removal of proxyVM used as dispvm_netvm
This commit is contained in:
parent
1025625772
commit
19e68bacf2
@ -655,7 +655,10 @@ class QubesVm(object):
|
||||
return self.netvm
|
||||
else:
|
||||
if isinstance(self._dispvm_netvm, int):
|
||||
return self._collection[self._dispvm_netvm]
|
||||
if self._dispvm_netvm in self._collection:
|
||||
return self._collection[self._dispvm_netvm]
|
||||
else:
|
||||
return None
|
||||
else:
|
||||
return self._dispvm_netvm
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user