diff options
author | Mike Fulbright <msf@redhat.com> | 2003-04-14 21:27:19 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2003-04-14 21:27:19 +0000 |
commit | d711a4b8738fea9a769342f04f2750ec93e87727 (patch) | |
tree | f233f244d7b9e489bf2c467fe1aeae361ee75750 | |
parent | dfcb8634d890406dfa4de433754aa0ce0b2515de (diff) | |
download | anaconda-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.py | 2 | ||||
-rw-r--r-- | image.py | 2 | ||||
-rw-r--r-- | installmethod.py | 2 |
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]) @@ -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): |