summaryrefslogtreecommitdiffstats
path: root/harddrive.py
diff options
context:
space:
mode:
authorPaul Nasrat <pnasrat@redhat.com>2005-11-15 02:43:34 +0000
committerPaul Nasrat <pnasrat@redhat.com>2005-11-15 02:43:34 +0000
commitc7f542f61836d6a79837bb3a38ba93793d99e1ba (patch)
tree6d1f83e60d564c4d1487e28f8ad751667a0037ef /harddrive.py
parent95e2b35eb224d50525d17756f3e59b1b3179f1b5 (diff)
downloadanaconda-c7f542f61836d6a79837bb3a38ba93793d99e1ba.tar.gz
anaconda-c7f542f61836d6a79837bb3a38ba93793d99e1ba.tar.xz
anaconda-c7f542f61836d6a79837bb3a38ba93793d99e1ba.zip
Change getRPMFileName signature, use in callback
Diffstat (limited to 'harddrive.py')
-rw-r--r--harddrive.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/harddrive.py b/harddrive.py
index 2d6e2400d..5a5c96672 100644
--- a/harddrive.py
+++ b/harddrive.py
@@ -126,14 +126,14 @@ class HardDriveInstallMethod(InstallMethod):
# return reference to the RPM file specified by the header
# will mount the appropriate ISO image as required by CD # in header
- def getRPMFilename(self, h, timer, callback=None):
+ def getRPMFilename(self, filename, h, timer, callback=None):
if self.mediaIsMounted != h[1000002]:
log.info("switching from iso %s to %s" %(self.mediaIsMounted,
h[1000002]))
self.umountMedia()
self.mountMedia(h[1000002])
- return "%s/%s/RPMS/%s" % (self.tree, productPath, h[1000000])
+ return "%s/%s/RPMS/%s" % (self.tree, productPath, filename)
def systemMounted(self, fsset, mntPoint):
self.mountMedia(1)