diff --git a/modules/canalplus/backend.py b/modules/canalplus/backend.py index 5d7f48fb..4b9491f9 100644 --- a/modules/canalplus/backend.py +++ b/modules/canalplus/backend.py @@ -71,6 +71,6 @@ class CanalplusBackend(BaseBackend, ICapVideo, ICapCollection): OBJECTS = {CanalplusVideo: fill_video} - def iter_resources(self, splited_path): + def iter_resources(self, split_path): with self.browser: - return self.browser.iter_resources(splited_path) + return self.browser.iter_resources(split_path) diff --git a/modules/canalplus/browser.py b/modules/canalplus/browser.py index d65f7313..cdc074af 100644 --- a/modules/canalplus/browser.py +++ b/modules/canalplus/browser.py @@ -77,7 +77,7 @@ class CanalplusBrowser(BaseBrowser): self.location(url) return self.page.get_video(video, self.quality) - def iter_resources(self, splited_path): + def iter_resources(self, split_path): self.home() collections = self.page.collections @@ -90,4 +90,4 @@ class CanalplusBrowser(BaseBrowser): return walk_res(path[1:], [collection.children for collection in collections if collection.title == i][0]) - return walk_res(splited_path, collections) + return walk_res(split_path, collections) diff --git a/modules/nova/backend.py b/modules/nova/backend.py index a25189cd..05e0a39b 100644 --- a/modules/nova/backend.py +++ b/modules/nova/backend.py @@ -62,8 +62,8 @@ class NovaBackend(BaseBackend, ICapRadio, ICapCollection): _RADIOS = {'nova': (u'Radio Nova', u'Radio nova', u'http://broadcast.infomaniak.net:80/radionova-high.mp3'), } - def iter_resources(self, splited_path): - if len(splited_path) > 0: + def iter_resources(self, split_path): + if len(split_path) > 0: raise CollectionNotFound() for id in self._RADIOS.iterkeys(): diff --git a/modules/ouifm/backend.py b/modules/ouifm/backend.py index ed0e8087..9c688377 100644 --- a/modules/ouifm/backend.py +++ b/modules/ouifm/backend.py @@ -46,8 +46,8 @@ class OuiFMBackend(BaseBackend, ICapRadio, ICapCollection): def create_default_browser(self): return self.create_browser(parser='json') - def iter_resources(self, splited_path): - if len(splited_path) > 0: + def iter_resources(self, split_path): + if len(split_path) > 0: raise CollectionNotFound() for id in self._RADIOS.iterkeys(): diff --git a/modules/radiofrance/backend.py b/modules/radiofrance/backend.py index 9697f69b..f7eed34a 100644 --- a/modules/radiofrance/backend.py +++ b/modules/radiofrance/backend.py @@ -155,8 +155,8 @@ class RadioFranceBackend(BaseBackend, ICapRadio, ICapCollection): _DIRECTJSON_RADIOS = ('lemouv', 'franceinter', ) _RSS_RADIOS = ('francemusique', ) - def iter_resources(self, splited_path): - if len(splited_path) > 0: + def iter_resources(self, split_path): + if len(split_path) > 0: raise CollectionNotFound() for id in sorted(self._RADIOS.iterkeys()): diff --git a/weboob/capabilities/bank.py b/weboob/capabilities/bank.py index e4347fca..60c4f79f 100644 --- a/weboob/capabilities/bank.py +++ b/weboob/capabilities/bank.py @@ -74,8 +74,8 @@ class Transfer(CapBaseObject): self.add_field('recipient', (int, long, basestring)) class ICapBank(ICapCollection): - def iter_resources(self, splited_path): - if len(splited_path) > 0: + def iter_resources(self, split_path): + if len(split_path) > 0: raise CollectionNotFound() return self.iter_accounts() diff --git a/weboob/capabilities/collection.py b/weboob/capabilities/collection.py index fd19db57..70e467b7 100644 --- a/weboob/capabilities/collection.py +++ b/weboob/capabilities/collection.py @@ -60,5 +60,5 @@ class Ressource(object): pass class ICapCollection(IBaseCap): - def iter_resources(self, splited_path): + def iter_resources(self, split_path): raise NotImplementedError()