vm/qubesvm: fix handling vm.storage.verify() errors

except section try to access qmemman_client variable - make it defined
at that stage.
This commit is contained in:
Marek Marczykowski-Górecki 2017-11-21 04:16:30 +01:00
parent a92dd99fbb
commit 23ee8aeb47
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -867,6 +867,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM):
pre_event=True, pre_event=True,
start_guid=start_guid, mem_required=mem_required) start_guid=start_guid, mem_required=mem_required)
qmemman_client = None
try: try:
yield from self.storage.verify() yield from self.storage.verify()