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

[PATCH 1/2] self.storage -> storage in kickstart execute methods.



---
 pyanaconda/kickstart.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 46d1a26..b8afb59 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -433,7 +433,7 @@ class Lang(commands.lang.FC3_Lang):
 class LogVolData(commands.logvol.F12_LogVolData):
     def execute(self):
         storage = self.anaconda.storage
-        devicetree = self.storage.devicetree
+        devicetree = storage.devicetree
 
         storage.doAutoPart = False
 
@@ -695,7 +695,7 @@ class DmRaid(commands.dmraid.FC6_DmRaid):
 class PartitionData(commands.partition.F12_PartData):
     def execute(self):
         storage = self.anaconda.storage
-        devicetree = self.storage.devicetree
+        devicetree = storage.devicetree
         kwargs = {}
 
         storage.doAutoPart = False
@@ -881,7 +881,7 @@ class RaidData(commands.raid.F12_RaidData):
         devicename = "md%d" % self.device
 
         storage = self.anaconda.storage
-        devicetree = self.storage.devicetree
+        devicetree = storage.devicetree
         kwargs = {}
 
         storage.doAutoPart = False
@@ -1052,7 +1052,7 @@ class VolGroupData(commands.volgroup.FC3_VolGroupData):
         pvs = []
 
         storage = self.anaconda.storage
-        devicetree = self.storage.devicetree
+        devicetree = storage.devicetree
 
         storage.doAutoPart = False
 
-- 
1.7.1.1


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