[anaconda][master/rhel7-branch/f22-branch] install.py: fix the 'is team device' check

Brian C. Lane bcl at redhat.com
Mon Feb 23 23:10:27 UTC 2015


On Mon, Feb 23, 2015 at 12:31:11PM -0800, Adam Williamson wrote:
> It's a method, not an attribute. We were only checking if the
> method existed. This caused teamd to always be pulled in.
> ---
>  pyanaconda/install.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/pyanaconda/install.py b/pyanaconda/install.py
> index a68e793..a0c6f7f 100644
> --- a/pyanaconda/install.py
> +++ b/pyanaconda/install.py
> @@ -216,7 +216,7 @@ def doInstall(storage, payload, ksdata, instClass):
>      if willInstallBootloader:
>          packages += storage.bootloader.packages
>  
> -    if network.is_using_team_device:
> +    if network.is_using_team_device():
>          packages.append("teamd")
>  
>      # don't try to install packages from the install class' ignored list and the
> -- 
> 2.3.0

Good catch, ack.

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


More information about the anaconda-patches mailing list