[rhel6-branch] Properly check and show warnings for LDL DASDs (#1144979)

Brian C. Lane bcl at redhat.com
Sat Jan 17 00:32:36 UTC 2015


On Thu, Jan 15, 2015 at 01:59:01PM -0500, Samantha N. Bueno wrote:
> -        c = len(self._dasdlist)
> +        # now onto formatting our DASDs        
> +        if not len(self._dasdlist):
> +            log.info("    no unformatted DASD devices found")
> +            return

drop the return, like Jan said.

> +        else:
> +            self.format_dasds(intf, askUser, self._dasdlist)
> +
> +        if not len(self._ldldasdlist):
> +            log.info("    no LDL DASD devices found")
> +            return

don't really need this one either

> @@ -184,6 +196,7 @@ class DASD:
>  
>          if intf:
>              pw.pop()
> +        return

or this one.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list