Related: rhbz#1027947 --- blivet/devicetree.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/blivet/devicetree.py b/blivet/devicetree.py index 1324499..7f96681 100644 --- a/blivet/devicetree.py +++ b/blivet/devicetree.py @@ -369,10 +369,8 @@ class DeviceTree(object): elif action.isDestroy and action.isDevice: # add the device back into the tree self._addDevice(action.device) - elif action.isFormat and \ - (action.isCreate or action.isResize): - action.cancel()
+ action.cancel() self._actions.remove(action)
def findActions(self, device=None, type=None, object=None, path=None,