Re: [PATCH 3/3] Handle format actions in cancelAction()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

-- 
Joel Andres Granados
Brno, Czech Republic, Red Hat.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux