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

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



Ack to all four.

On Fri, 2011-01-07 at 14:38 -0500, Chris Lumens wrote:
> 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:



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