Merge remote-tracking branch 'qubesos/pr/86'
* qubesos/pr/86: Do the right thing on removal of proxyVM used as dispvm_netvm
This commit is contained in:
commit
4235f587db
@ -655,7 +655,10 @@ class QubesVm(object):
|
|||||||
return self.netvm
|
return self.netvm
|
||||||
else:
|
else:
|
||||||
if isinstance(self._dispvm_netvm, int):
|
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:
|
else:
|
||||||
return self._dispvm_netvm
|
return self._dispvm_netvm
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user