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:
1415306
)
fix off-by-one bug in ConfigSubList
author
Felix Domke
<tmbinc@elitedvb.net>
Sun, 8 Oct 2006 21:07:33 +0000
(21:07 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Sun, 8 Oct 2006 21:07:33 +0000
(21:07 +0000)
lib/python/Components/config.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/config.py
b/lib/python/Components/config.py
index 3b64763ee380cb1319c13641afdf1ac6653d5085..07186157768d97b9450cac0c67ee01a956b2e80f 100644
(file)
--- a/
lib/python/Components/config.py
+++ b/
lib/python/Components/config.py
@@
-631,8
+631,8
@@
class ConfigSubList(list, object):
saved_value = property(getSavedValue, setSavedValue)
def append(self, item):
- list.append(self, item)
i = str(len(self))
+ list.append(self, item)
if i in self.stored_values:
item.saved_value = self.stored_values[i]
item.load()