diff options
author | Chris Lumens <clumens@redhat.com> | 2007-09-19 18:35:16 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-09-19 18:35:16 +0000 |
commit | dc6dd742d400979f94ae1b0191afea33574475d4 (patch) | |
tree | b0850667505bee44f42e796c4c80763ea3f96b69 /livecd.py | |
parent | 8cd6d5f3f6b236e5149dcea2aeb244b6d888ce86 (diff) | |
download | anaconda-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.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |