From: "Brian C. Lane" <bcl(a)redhat.com>
---
pyanaconda/packaging/yumpayload.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/pyanaconda/packaging/yumpayload.py b/pyanaconda/packaging/yumpayload.py
index c0c1455..911c1ce 100644
--- a/pyanaconda/packaging/yumpayload.py
+++ b/pyanaconda/packaging/yumpayload.py
@@ -535,7 +535,6 @@ reposdir=%s
self.disableRepo(repo.id)
elif self.data.method.method and \
repo.id != BASE_REPO_NAME and \
- repo.id != "updates" and \
repo.id not in (r.name for r in self.data.repo.dataList()):
# if a method/repo was given, disable all default repos
self.disableRepo(repo.id)
--
1.8.1.4
Show replies by date
From: "Brian C. Lane" <bcl(a)redhat.com>
---
pyanaconda/ui/gui/spokes/source.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index 61b5ae7..17a01da 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -941,11 +941,17 @@ class SourceSpoke(NormalSpoke):
def on_noUpdatesCheckbox_toggled(self, *args):
""" Toggle the enable state of the updates repo
+
+ Before final release this will also toggle the updates-testing repo
"""
if self._noUpdatesCheckbox.get_active():
self.payload.disableRepo("updates")
+ if not constants.isFinal:
+ self.payload.disableRepo("updates-testing")
else:
self.payload.enableRepo("updates")
+ if not constants.isFinal:
+ self.payload.enableRepo("updates-testing")
def on_addRepo_clicked(self, button):
""" Add a new repository
--
1.8.1.4
ACK to both.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic