diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2010-10-20 20:18:14 +0200 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2010-10-20 20:21:54 +0200 |
| commit | 2e882633da38a755fd5b87dcf8c465b54262c1af (patch) | |
| tree | 611e5d327a7dd3a70e0e2b57cabf619eaa34402e /lib/python/Components | |
| parent | 5eca923d99f67632c6dab1679e987d3ac9025a73 (diff) | |
| download | enigma2-2e882633da38a755fd5b87dcf8c465b54262c1af.tar.gz enigma2-2e882633da38a755fd5b87dcf8c465b54262c1af.zip | |
lib/python/Components/config.py: revert previous change because of side effects
Diffstat (limited to 'lib/python/Components')
| -rwxr-xr-x | lib/python/Components/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index 08dd3745..d7506e31 100755 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -179,7 +179,7 @@ class choicesList(object): # XXX: we might want a better name for this def __list__(self): if self.type == choicesList.LIST_TYPE_LIST: - ret = [not isinstance(x, tuple) and x or len(x) > 0 and x[0] or len(x) == 0 and x for x in self.choices] + ret = [not isinstance(x, tuple) and x or x[0] for x in self.choices] else: ret = self.choices.keys() return ret or [""] |
