[PATCH2] Remove an unused closure function

Anne Mulhern amulhern at redhat.com
Fri Jul 18 11:36:51 UTC 2014





----- Original Message -----
> From: "Vratislav Podzimek" <vpodzime at redhat.com>
> To: anaconda-patches at lists.fedorahosted.org
> Sent: Friday, July 18, 2014 5:13:24 AM
> Subject: [PATCH2] Remove an unused closure function
> 
> Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
> ---
>  blivet/devicetree.py | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/blivet/devicetree.py b/blivet/devicetree.py
> index bf90fb5..c4cb1b7 100644
> --- a/blivet/devicetree.py
> +++ b/blivet/devicetree.py
> @@ -1659,14 +1659,6 @@ class DeviceTree(object):
>          major = udev.device_get_major(info)
>          minor = udev.device_get_minor(info)
>  
> -        def _all_ignored(rss):
> -            retval = True
> -            for rs in rss:
> -                if rs.name not in self.ignoredDisks:
> -                    retval = False
> -                    break
> -            return retval
> -
>          # Have we already created the DMRaidArrayDevice?
>          rss = block.getRaidSetFromRelatedMem(uuid=uuid, name=name,
>                                              major=major, minor=minor)
> --
> 1.9.3
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
> 

Ack.


More information about the anaconda-patches mailing list