aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Sources
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/Sources')
-rw-r--r--lib/python/Components/Sources/List.py2
-rw-r--r--lib/python/Components/Sources/RdsDecoder.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/Sources/List.py b/lib/python/Components/Sources/List.py
index dbe442d1..1eab32b2 100644
--- a/lib/python/Components/Sources/List.py
+++ b/lib/python/Components/Sources/List.py
@@ -27,7 +27,7 @@ to generate HTML."""
def entry_changed(self, index):
if not self.disable_callbacks:
- self.downstream_elements.entry_changed(self, index)
+ self.downstream_elements.entry_changed(index)
def modifyEntry(self, index, data):
self.__list[index] = data
diff --git a/lib/python/Components/Sources/RdsDecoder.py b/lib/python/Components/Sources/RdsDecoder.py
index 3ec9a25d..26a3e5a7 100644
--- a/lib/python/Components/Sources/RdsDecoder.py
+++ b/lib/python/Components/Sources/RdsDecoder.py
@@ -23,7 +23,7 @@ class RdsDecoder(PerServiceBase, Source, object):
decoder = property(getDecoder)
def gotEvent(self, what):
- if what in [iPlayableService.evStart, iPlayableService.evEnd]:
+ if what in (iPlayableService.evStart, iPlayableService.evEnd):
self.changed((self.CHANGED_CLEAR,))
else:
self.changed((self.CHANGED_SPECIFIC, what))