diff options
author | David Lehman <dlehman@redhat.com> | 2009-04-30 14:25:36 -0500 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-04-30 15:56:51 -0500 |
commit | fa286e025330e451b6f50cca0c7da67edb2d8ba8 (patch) | |
tree | 6ecd33ccfcc89b4225e7db51d64fc43877102748 | |
parent | d4032e67cb3ee80ee0ddda910706bcf2bb1ed627 (diff) | |
download | anaconda-fa286e025330e451b6f50cca0c7da67edb2d8ba8.tar.gz anaconda-fa286e025330e451b6f50cca0c7da67edb2d8ba8.tar.xz anaconda-fa286e025330e451b6f50cca0c7da67edb2d8ba8.zip |
Pass anaconda to storage.FSSet.turnOnSwap.
Fixes a traceback on upgrade.
-rw-r--r-- | upgrade.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrade.py b/upgrade.py index c00c9c634..730bb4c71 100644 --- a/upgrade.py +++ b/upgrade.py @@ -310,7 +310,7 @@ def upgradeMountFilesystems(anaconda): anaconda.id.storage.fsset.parseFSTab(chroot=anaconda.rootPath) if flags.setupFilesystems: - anaconda.id.storage.fsset.turnOnSwap(upgrading=True) + anaconda.id.storage.fsset.turnOnSwap(anaconda, upgrading=True) anaconda.id.storage.fsset.mkDevRoot(anaconda.rootPath) # if they've been booting with selinux disabled, then we should |