[PATCH] Add anaconda support for using clearpart --cdl option. (#1164240)

Brian C. Lane bcl at redhat.com
Sat Jan 17 00:41:29 UTC 2015


On Thu, Jan 15, 2015 at 01:59:02PM -0500, Samantha N. Bueno wrote:
> @@ -119,18 +116,21 @@ class DASD:
>          # now onto formatting our DASDs        

Looks like some trailing spaces slipped into the comment ^^


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

Oh, ha, you did remove them. Sill no need for the final return though.

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


More information about the anaconda-patches mailing list