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

Adam Williamson awilliam at redhat.com
Mon Feb 23 20:31:11 UTC 2015


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



More information about the anaconda-patches mailing list