summaryrefslogtreecommitdiffstats
path: root/rescue.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-04-24 13:55:10 -0500
committerDavid Lehman <dlehman@redhat.com>2009-04-24 15:00:37 -0500
commitb411847a898d4040bfd96e0e78ad289dc08c1b70 (patch)
tree5ac7b60002e7a375b7f357f18dec9b4f12a49dc9 /rescue.py
parent83ad0ffd5086571378812ed173f0ee483df28f48 (diff)
downloadanaconda-b411847a898d4040bfd96e0e78ad289dc08c1b70.tar.gz
anaconda-b411847a898d4040bfd96e0e78ad289dc08c1b70.tar.xz
anaconda-b411847a898d4040bfd96e0e78ad289dc08c1b70.zip
Pass anaconda to turnOnSwap so we can use swap files.
For swap files we need to know anaconda.rootPath and since we're also using anaconda.intf it seems like time to just give in and pass anaconda.
Diffstat (limited to 'rescue.py')
-rw-r--r--rescue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue.py b/rescue.py
index 707f3bea4..f34a77c48 100644
--- a/rescue.py
+++ b/rescue.py
@@ -327,7 +327,7 @@ def runRescue(anaconda, instClass):
# now turn on swap
if not readOnly:
try:
- anaconda.id.storage.fsset.turnOnSwap(anaconda.intf)
+ anaconda.id.storage.fsset.turnOnSwap(anaconda)
except:
log.error("Error enabling swap")