[master][PATCH] Don't pass extra arguments to LangLocaleHandler.__init__()
Vratislav Podzimek
vpodzime at redhat.com
Tue Sep 10 09:46:16 UTC 2013
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 = {}
--
1.7.11.7
More information about the anaconda-patches
mailing list