[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Pass anaconda to storage.FSSet.turnOnSwap.



Fixes a traceback on upgrade.
---
 upgrade.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/upgrade.py b/upgrade.py
index c00c9c6..730bb4c 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
-- 
1.6.0.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]