[PATCH] Actually add the new definition of an already-defined repo.
Chris Lumens
clumens at redhat.com
Tue Jan 20 16:33:30 UTC 2015
I left these two lines out of my previous patch.
---
pyanaconda/packaging/dnfpayload.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pyanaconda/packaging/dnfpayload.py b/pyanaconda/packaging/dnfpayload.py
index d0eb90e..0fd3ac3 100644
--- a/pyanaconda/packaging/dnfpayload.py
+++ b/pyanaconda/packaging/dnfpayload.py
@@ -240,6 +240,8 @@ class DNFPayload(packaging.PackagePayload):
self._base.repos[repo.id].enable()
else:
self._base.repos.pop(repo.id)
+ self._base.repos.add(repo)
+ repo.enable()
# If the repo's not already known, we've got to add it.
else:
self._base.repos.add(repo)
--
2.2.1
More information about the anaconda-patches
mailing list