diff options
author | Chris Lumens <clumens@redhat.com> | 2007-12-14 15:28:30 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-12-14 15:28:30 -0500 |
commit | aff923cacd1d45b22ae232a195bb53ab50420505 (patch) | |
tree | f8e8ff42da0c962bc7b987af894ad742b272cce2 | |
parent | 43ed5befdb815f307a752a780cbf266c7e43696f (diff) | |
download | anaconda-aff923cacd1d45b22ae232a195bb53ab50420505.tar.gz anaconda-aff923cacd1d45b22ae232a195bb53ab50420505.tar.xz anaconda-aff923cacd1d45b22ae232a195bb53ab50420505.zip |
Avoid unnecessary downloading and caching by not setting mediaid (#422801).
-rw-r--r-- | yuminstall.py | 2 |
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) |