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

[PATCH 1/3] Make sure to set a self.anaconda reference on data objects too.



This is needed because data objects do not get executed through the
dispatcher.
---
 pyanaconda/kickstart.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index aee7f48..46d1a26 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -1202,6 +1202,7 @@ class AnacondaKSHandler(superclass):
     def execute(self):
         try:
             for obj in filter(lambda o: hasattr(o, "execute"), self._dataObjs):
+                obj.anaconda = self.anaconda
                 obj.execute()
         except KickstartError as e:
             if self.anaconda.intf:
-- 
1.7.1.1


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