git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
681626f
)
fix-fix configlist assertion (add #188)
author
Fraxinas
<
[email protected]
>
Mon, 14 Jun 2010 10:59:12 +0000
(12:59 +0200)
committer
Fraxinas
<
[email protected]
>
Mon, 14 Jun 2010 11:02:30 +0000
(13:02 +0200)
lib/python/Components/ConfigList.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/ConfigList.py
b/lib/python/Components/ConfigList.py
index 5a02c38d7f9722aafe2d07d4e46de12f7c745d5f..24f917f76398c109e1f1000914248296fdfcaf06 100755
(executable)
--- a/
lib/python/Components/ConfigList.py
+++ b/
lib/python/Components/ConfigList.py
@@
-88,7
+88,7
@@
class ConfigList(HTMLComponent, GUIComponent, object):
if l is not None:
for x in l:
- assert
isinstance(x, ConfigElement), "entry in ConfigList " + str(x
) + " must be a ConfigElement"
+ assert
len(x) < 2 or isinstance(x[1], ConfigElement), "entry in ConfigList " + str(x[1]
) + " must be a ConfigElement"
def getList(self):
return self.__list