[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Do not show disabled repos.



This is a brute force fix, that winds up killing updates-testing from
being visible, but it also kills rawhide from being visible which is
what we're really after.  A more fine tuned fix could be made after F10
but this is likely the safest route for F-10.
---
 yuminstall.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 1ec5463..492bbda 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -537,10 +537,10 @@ class AnacondaYum(YumSorter):
             del(repo)
             raise RepoError, "Repo %s contains -source or -debuginfo, excluding" % name
 
-        if BETANAG and not repo.enabled:
+        if not repo.enabled:
             name = repo.name
             del(repo)
-            raise RepoError, "Excluding disabled repo %s for prerelease" % name
+            raise RepoError, "Excluding disabled repo %s" % name
 
         # If repo=/method= was passed in, we want to default these extra
         # repos to off.
-- 
1.6.0.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]