fix ConfigNone
authorghost <andreas.monzner@multimedia-labs.de>
Mon, 16 Feb 2009 17:08:39 +0000 (18:08 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Mon, 16 Feb 2009 17:08:39 +0000 (18:08 +0100)
this fixes the endless bootloop with dm800

lib/python/Components/config.py

index a813d3cadda77a8b5d9167a4d88f750248017658..a6d34152e0882b153ecb950270a4e6ed37d43954 100755 (executable)
@@ -1385,7 +1385,7 @@ class ConfigLocations(ConfigElement):
 # nothing.
 class ConfigNothing(ConfigSelection):
        def __init__(self):
 # nothing.
 class ConfigNothing(ConfigSelection):
        def __init__(self):
-               ConfigSelection.__init__(self, choices = [""])
+               ConfigSelection.__init__(self, choices = [("","")])
 
 # until here, 'saved_value' always had to be a *string*.
 # now, in ConfigSubsection, and only there, saved_value
 
 # until here, 'saved_value' always had to be a *string*.
 # now, in ConfigSubsection, and only there, saved_value