aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rwxr-xr-xlib/python/Components/config.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py
index 1efb8a56..a7724f40 100755
--- a/lib/python/Components/config.py
+++ b/lib/python/Components/config.py
@@ -183,9 +183,8 @@ class ConfigSelection(ConfigElement):
default = self.choices[0]
assert default in self.choices, "default must be in choice list, but " + repr(default) + " is not!"
- for x in self.choices:
- assert isinstance(x, str), "ConfigSelection choices must be strings"
-
+# for x in self.choices:
+# assert isinstance(x, str), "ConfigSelection choices must be strings"
self.default = default
if self.value == None or not self.value in self.choices: