aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/FIFOList.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-07-21 22:48:09 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-07-21 22:48:09 +0000
commit172101b6a15dae4ce5438babfde1f8301262fea8 (patch)
tree4dc1f1ca448f87e685ce098761c4c53e902b0202 /lib/python/Components/FIFOList.py
parent0da52198b0394f88e10945d74bff75bf340960b1 (diff)
downloadenigma2-172101b6a15dae4ce5438babfde1f8301262fea8.tar.gz
enigma2-172101b6a15dae4ce5438babfde1f8301262fea8.zip
clear list of previous found services when a new servicescan starts
Diffstat (limited to 'lib/python/Components/FIFOList.py')
-rw-r--r--lib/python/Components/FIFOList.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/Components/FIFOList.py b/lib/python/Components/FIFOList.py
index 16b51c89..4adf6aff 100644
--- a/lib/python/Components/FIFOList.py
+++ b/lib/python/Components/FIFOList.py
@@ -10,3 +10,7 @@ class FIFOList(MenuList):
self.list.append(item)
self.list = self.list[-self.len:]
self.l.setList(self.list)
+
+ def clear(self):
+ del self.list[:]
+ self.l.setList(self.list)