[master][PATCH] Don't pass extra arguments to LangLocaleHandler.__init__()
Martin Kolman
mkolman at redhat.com
Tue Sep 10 11:35:43 UTC 2013
On Tue, 2013-09-10 at 11:46 +0200, Vratislav Podzimek wrote:
> It doesn't expect nor need them.
>
> Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
> ---
> pyanaconda/ui/gui/spokes/langsupport.py | 2 +-
> pyanaconda/ui/gui/spokes/welcome.py | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/pyanaconda/ui/gui/spokes/langsupport.py b/pyanaconda/ui/gui/spokes/langsupport.py
> index dc6b815..776791e 100644
> --- a/pyanaconda/ui/gui/spokes/langsupport.py
> +++ b/pyanaconda/ui/gui/spokes/langsupport.py
> @@ -47,7 +47,7 @@ class LangsupportSpoke(LangLocaleHandler, NormalSpoke):
>
> def __init__(self, *args, **kwargs):
> NormalSpoke.__init__(self, *args, **kwargs)
> - LangLocaleHandler.__init__(self, *args, **kwargs)
> + LangLocaleHandler.__init__(self)
> self._selected_locales = set()
>
> def initialize(self):
> diff --git a/pyanaconda/ui/gui/spokes/welcome.py b/pyanaconda/ui/gui/spokes/welcome.py
> index 85352d6..79efdd2 100644
> --- a/pyanaconda/ui/gui/spokes/welcome.py
> +++ b/pyanaconda/ui/gui/spokes/welcome.py
> @@ -54,7 +54,7 @@ class WelcomeLanguageSpoke(LangLocaleHandler, StandaloneSpoke):
>
> def __init__(self, *args, **kwargs):
> StandaloneSpoke.__init__(self, *args, **kwargs)
> - LangLocaleHandler.__init__(self, *args, **kwargs)
> + LangLocaleHandler.__init__(self)
> self._xklwrapper = keyboard.XklWrapper.get_instance()
> self._origStrings = {}
>
Looks good, ACK!
More information about the anaconda-patches
mailing list