diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-07-21 22:48:09 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-07-21 22:48:09 +0000 |
| commit | 172101b6a15dae4ce5438babfde1f8301262fea8 (patch) | |
| tree | 4dc1f1ca448f87e685ce098761c4c53e902b0202 /lib/python/Components/FIFOList.py | |
| parent | 0da52198b0394f88e10945d74bff75bf340960b1 (diff) | |
| download | enigma2-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.py | 4 |
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) |
