summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-08-13 19:32:37 +0000
committerJeremy Katz <katzj@redhat.com>2007-08-13 19:32:37 +0000
commit8bfead5dc73aada85f4fbb35067d8f4a296e3bf4 (patch)
tree79e993426c866d97672f277d5c2098111536a4f3 /yuminstall.py
parent008d022cfef483d618e4994ec577f29fa5390459 (diff)
downloadanaconda-8bfead5dc73aada85f4fbb35067d8f4a296e3bf4.tar.gz
anaconda-8bfead5dc73aada85f4fbb35067d8f4a296e3bf4.tar.xz
anaconda-8bfead5dc73aada85f4fbb35067d8f4a296e3bf4.zip
AnacondaYumRepo doesn't need the method anymore
Diffstat (limited to 'yuminstall.py')
-rw-r--r--yuminstall.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/yuminstall.py b/yuminstall.py
index 5c639f453..861ec3263 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -212,9 +212,8 @@ class AnacondaCallback:
class AnacondaYumRepo(YumRepository):
def __init__( self, uri=None, mirrorlist=None,
repoid='anaconda%s' % productStamp,
- root = "/mnt/sysimage/", method=None, addon=True):
+ root = "/mnt/sysimage/", addon=True):
YumRepository.__init__(self, repoid)
- self.method = method
self.nomoremirrors = False
conf = yum.config.RepoConf()
for k, v in conf.iteritems():
@@ -401,7 +400,7 @@ class AnacondaYum(YumSorter):
repo = AnacondaYumRepo(uri, addon=False,
repoid="anaconda-%s-%s" %(name,
productStamp),
- root = root, method=self.method)
+ root = root)
repo.enable()
self.repos.add(repo)