summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-04-14 21:27:19 +0000
committerMike Fulbright <msf@redhat.com>2003-04-14 21:27:19 +0000
commitd711a4b8738fea9a769342f04f2750ec93e87727 (patch)
treef233f244d7b9e489bf2c467fe1aeae361ee75750
parentdfcb8634d890406dfa4de433754aa0ce0b2515de (diff)
downloadanaconda-d711a4b8738fea9a769342f04f2750ec93e87727.tar.gz
anaconda-d711a4b8738fea9a769342f04f2750ec93e87727.tar.xz
anaconda-d711a4b8738fea9a769342f04f2750ec93e87727.zip
adjust function parameter to allow for possibility of callback, although not used for these methods yet
-rw-r--r--harddrive.py2
-rw-r--r--image.py2
-rw-r--r--installmethod.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/harddrive.py b/harddrive.py
index 630a56994..8bf5df1d2 100644
--- a/harddrive.py
+++ b/harddrive.py
@@ -70,7 +70,7 @@ class HardDriveInstallMethod(InstallMethod):
self.umountMedia()
return cs
- def getFilename(self, h, timer):
+ def getFilename(self, h, timer, callback=None):
if self.mediaIsMounted != h[1000002]:
self.umountMedia()
self.mountMedia(h[1000002])
diff --git a/image.py b/image.py
index 4d13c3afc..483f3742f 100644
--- a/image.py
+++ b/image.py
@@ -36,7 +36,7 @@ class ImageInstallMethod(InstallMethod):
#
return ComponentSet(fname, hdlist)
- def getFilename(self, h, timer):
+ def getFilename(self, h, timer, callback=None):
return self.tree + "/RedHat/RPMS/" + h[1000000]
def readHeaders(self):
diff --git a/installmethod.py b/installmethod.py
index a89c26bf9..28c2008fb 100644
--- a/installmethod.py
+++ b/installmethod.py
@@ -79,7 +79,7 @@ class InstallMethod:
return tmppath
- def getFilename(self, h, timer):
+ def getFilename(self, h, timer, callback=None):
pass
def readHeaders(self):