[rhinstaller/blivet/pulls/71 master] Consolidate common code in DeviceFormat class methods.

vpodzime installerbot-noreply at redhat.com
Thu Apr 9 08:40:18 UTC 2015


> @@ -386,7 +386,12 @@ def _getFormatOptions(self, options=None, do_labeling=False):
>          argv.append(self.device)
>          return argv
>  
> -    def doFormat(self, options=None):
> +    def _preCreate(self, **kwargs):
> +        super(FS, self)._preCreate(**kwargs)
> +        if not self.mkfsProg:
> +            return

Okay, thanks for the explanation.

-- 
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/71#discussion_r28044129


More information about the anaconda-patches mailing list