diff --git a/yuminstall.py b/yuminstall.py
index dfb65de..f59126b 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -755,7 +755,7 @@ class AnacondaYum(YumSorter):
if ksrepo.cost:
repo.cost = ksrepo.cost
- if ksrepo.exclude:
+ if ksrepo.excludepkgs:
repo.exclude = ksrepo.excludepkgs
if ksrepo.includepkgs:
@@ -1943,8 +1943,9 @@ debuglevel=10
if repo.includepkgs:
line += " --includepkgs="%s"" % ",".join(repo.includepkgs)
- if repo.excludepkgs:
- line += " --excludepkgs="%s"" % ",".join(repo.excludepkgs)
+
+ if repo.exclude:
+ line += " --excludepkgs="%s"" % ",".join(repo.exclude)
line += "
"
--
1.7.0.1
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list