[PATCH] format.setup in blivet now takes only kwargs.

Anne Mulhern amulhern at redhat.com
Thu Jun 5 17:48:21 UTC 2014





----- Original Message -----
> From: "Chris Lumens" <clumens at redhat.com>
> To: anaconda-patches at lists.fedorahosted.org
> Sent: Thursday, June 5, 2014 1:13:32 PM
> Subject: [PATCH] format.setup in blivet now takes only kwargs.
> 
> This is caused by 0e4f67338dfbdd665e7c9aeb220272dcad19b166 in python-blivet.
> ---
>  pyanaconda/install.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/pyanaconda/install.py b/pyanaconda/install.py
> index 2bdbbd1..d9303cd 100644
> --- a/pyanaconda/install.py
> +++ b/pyanaconda/install.py
> @@ -126,7 +126,7 @@ def moveBootMntToPhysical(storage):
>          return
>      bootmnt.format.teardown()
>      bootmnt.teardown()
> -    bootmnt.format.setup(bootmnt.format.options,
> chroot=iutil.getTargetPhysicalRoot())
> +    bootmnt.format.setup(options=bootmnt.format.options,
> chroot=iutil.getTargetPhysicalRoot())
>  
>  def doInstall(storage, payload, ksdata, instClass):
>      """Perform an installation.  This method takes the ksdata as prepared by
> @@ -217,7 +217,7 @@ def doInstall(storage, payload, ksdata, instClass):
>              # Explicitly mount the root on the physical sysroot
>              rootmnt = storage.mountpoints.get('/')
>              rootmnt.setup()
> -            rootmnt.format.setup(rootmnt.format.options,
> chroot=iutil.getTargetPhysicalRoot())
> +            rootmnt.format.setup(options=rootmnt.format.options,
> chroot=iutil.getTargetPhysicalRoot())
>  
>              payload.prepareMountTargets(storage)
>  
> --
> 1.9.0
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
> 

Ack. But the commit message is a bit strong, the code that is
broken got pushed after the commit to which it refers.

- mulhern


More information about the anaconda-patches mailing list