summaryrefslogtreecommitdiffstats
path: root/livecd.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-09-19 18:35:16 +0000
committerChris Lumens <clumens@redhat.com>2007-09-19 18:35:16 +0000
commitdc6dd742d400979f94ae1b0191afea33574475d4 (patch)
treeb0850667505bee44f42e796c4c80763ea3f96b69 /livecd.py
parent8cd6d5f3f6b236e5149dcea2aeb244b6d888ce86 (diff)
downloadanaconda-dc6dd742d400979f94ae1b0191afea33574475d4.tar.gz
anaconda-dc6dd742d400979f94ae1b0191afea33574475d4.tar.xz
anaconda-dc6dd742d400979f94ae1b0191afea33574475d4.zip
Lots of minor pychecker error fixes. Some of these are even real problems.
Diffstat (limited to 'livecd.py')
-rw-r--r--livecd.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/livecd.py b/livecd.py
index a8e6bb178..28601ed0d 100644
--- a/livecd.py
+++ b/livecd.py
@@ -98,7 +98,7 @@ class LiveCDImageMethod(installmethod.InstallMethod):
custom_buttons=[_("Exit installer")])
sys.exit(0)
- def unmountNonFstabDirs(self):
+ def unmountNonFstabDirs(self, anaconda):
# unmount things that aren't listed in /etc/fstab. *sigh*
dirs = ["/dev"]
if flags.selinux:
@@ -110,7 +110,7 @@ class LiveCDImageMethod(installmethod.InstallMethod):
log.error("unable to unmount %s: %s" %(dir, e))
def postAction(self, anaconda):
- self.unmountNonFstabDirs()
+ self.unmountNonFstabDirs(anaconda)
try:
anaconda.id.fsset.umountFilesystems(anaconda.rootPath,
swapoff = False)
@@ -157,7 +157,7 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
def doPreInstall(self, anaconda):
if anaconda.dir == DISPATCH_BACK:
- anaconda.method.unmountNonFstabDirs()
+ anaconda.method.unmountNonFstabDirs(anaconda)
return
anaconda.id.fsset.umountFilesystems(anaconda.rootPath, swapoff = False)