1 |
jpp |
1.1 |
diff -uNrp anaconda-21.48.22.121.orig/pyanaconda/packaging/yumpayload.py anaconda-21.48.22.121/pyanaconda/packaging/yumpayload.py |
2 |
|
|
--- anaconda-21.48.22.121.orig/pyanaconda/packaging/yumpayload.py 2017-04-27 08:09:33.000000000 -0500 |
3 |
|
|
+++ anaconda-21.48.22.121/pyanaconda/packaging/yumpayload.py 2017-09-04 00:21:23.617491857 -0500 |
4 |
|
|
@@ -206,6 +206,10 @@ class YumPayload(PackagePayload): |
5 |
|
|
"""Save repomd.xml files for later test for availability.""" |
6 |
|
|
self._repoMD_list = [] |
7 |
|
|
for repoID in self.repos: |
8 |
|
|
+ if not self.isRepoEnabled(repoID): |
9 |
|
|
+ log.info("Not checking metadata for disabled repo %s", repoID) |
10 |
|
|
+ continue |
11 |
|
|
+ |
12 |
|
|
repo = self.getRepo(repoID) |
13 |
|
|
with _yum_lock: |
14 |
|
|
repoMD = RepoMDMetaHash(self, repo) |