summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-12-14 15:28:30 -0500
committerChris Lumens <clumens@redhat.com>2007-12-14 15:28:30 -0500
commitaff923cacd1d45b22ae232a195bb53ab50420505 (patch)
treef8e8ff42da0c962bc7b987af894ad742b272cce2 /yuminstall.py
parent43ed5befdb815f307a752a780cbf266c7e43696f (diff)
downloadanaconda-aff923cacd1d45b22ae232a195bb53ab50420505.tar.gz
anaconda-aff923cacd1d45b22ae232a195bb53ab50420505.tar.xz
anaconda-aff923cacd1d45b22ae232a195bb53ab50420505.zip
Avoid unnecessary downloading and caching by not setting mediaid (#422801).
Diffstat (limited to 'yuminstall.py')
-rw-r--r--yuminstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yuminstall.py b/yuminstall.py
index 67c850121..4a4254c16 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -446,7 +446,7 @@ class AnacondaYum(YumSorter):
root = root)
repo.cost = 100
- if self.anaconda.mediaDevice or self.isodir != -1:
+ if self.anaconda.mediaDevice or self.isodir:
repo.mediaid = getMediaId(self.tree)
log.info("set mediaid of repo to: %s" % repo.mediaid)