[PATCH 4/4] Don't treat the baserepo as special when gathering metadata (#1177502)

David Shea dshea at redhat.com
Tue Jan 6 20:33:42 UTC 2015


There's no need to raise an error. It's all going to be ok.
---
 pyanaconda/packaging/dnfpayload.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/pyanaconda/packaging/dnfpayload.py b/pyanaconda/packaging/dnfpayload.py
index 90f9480..5cde775 100644
--- a/pyanaconda/packaging/dnfpayload.py
+++ b/pyanaconda/packaging/dnfpayload.py
@@ -471,8 +471,6 @@ class DNFPayload(packaging.PackagePayload):
             dnf_repo.load()
         except dnf.exceptions.RepoError as e:
             id_ = dnf_repo.id
-            if id_ == self.baseRepo:
-                raise packaging.MetadataError(str(e))
             log.info('_sync_metadata: addon repo error: %s', e)
             self.disableRepo(id_)
 
-- 
2.1.0



More information about the anaconda-patches mailing list