Sort radios
This commit is contained in:
parent
1fa64bf5f1
commit
70317ca4e3
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ class RadioFranceBackend(BaseBackend, ICapRadio, ICapCollection):
|
||||||
if len(splited_path) > 0:
|
if len(splited_path) > 0:
|
||||||
raise CollectionNotFound()
|
raise CollectionNotFound()
|
||||||
|
|
||||||
for id in self._RADIOS.iterkeys():
|
for id in sorted(self._RADIOS.iterkeys()):
|
||||||
yield self.get_radio(id)
|
yield self.get_radio(id)
|
||||||
|
|
||||||
def iter_radios_search(self, pattern):
|
def iter_radios_search(self, pattern):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue