Fix qubes.lvm _reset

This commit is contained in:
Bahtiar `kalkin-` Gadimov 2016-07-21 22:56:29 +02:00
parent 9d30bb132a
commit 064629b63a
No known key found for this signature in database
GPG Key ID: 96ED3C3BA19C3DEE

View File

@ -190,7 +190,11 @@ class ThinPool(qubes.storage.Pool):
return volume
def _reset(self, volume):
self.remove(volume)
try:
self.remove(volume)
except qubes.storage.StoragePoolException:
pass
self.create(volume)
def setup(self):