[master 10/30] install.py: fix the 'is team device' check

KosiehBarter installerbot-noreply at redhat.com
Thu Jul 16 12:00:34 UTC 2015


From: Adam Williamson <awilliam at redhat.com>

It's a method, not an attribute. We were only checking if the
method existed. This caused teamd to always be pulled in.

(cherry picked from commit 348b2bec71baabdcdac88b989d7e34ab23cd9a86)
---
 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


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/ea3796182b92376ead5e14318f7630e1a3e50999


More information about the anaconda-patches mailing list