[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [PATCH 3/3] Handle format actions in cancelAction()
- From: Joel Granados <jgranado redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: Re: [PATCH 3/3] Handle format actions in cancelAction()
- Date: Thu, 2 Apr 2009 11:06:00 +0200
looks ok to me
On Wed, Apr 01, 2009 at 05:43:12PM -1000, David Cantrell wrote:
> ---
> storage/devicetree.py | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/storage/devicetree.py b/storage/devicetree.py
> index 4a1aeba..603aa74 100644
> --- a/storage/devicetree.py
> +++ b/storage/devicetree.py
> @@ -749,6 +749,10 @@ 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.isMigrate() or action.isResize()):
> + action.cancel()
> + self._actions.remove(action)
>
> def findActions(self, device=None, type=None, object=None, path=None):
> """ Find all actions that match all specified parameters.
> --
> 1.6.2
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list redhat com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
--
Joel Andres Granados
Brno, Czech Republic, Red Hat.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]