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

Re: [PATCH master] Fix missing argument in function call pyanaconda/flags.py line 39



> diff --git a/pyanaconda/flags.py b/pyanaconda/flags.py
> index 0c6d734..a7cb92e 100644
> --- a/pyanaconda/flags.py
> +++ b/pyanaconda/flags.py
> @@ -36,7 +36,7 @@ class Flags(object):
>  
>      def set_cmdline_bool(self, flag):
>          if flag in self.cmdline:
> -            setattr(self, self.cmdline.getbool(flag))
> +            setattr(self, flag, self.cmdline.getbool(flag))
>  
>      def __init__(self, read_cmdline=True):
>          self.__dict__['_in_init'] = True

This will also need to be applied to f17-branch.  I'll leave it to Will
to do so, since this is his new code.

- Chris


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