Commit 36f2c04c authored by Laurent Bachelier's avatar Laurent Bachelier 🐧 Committed by Romain Bignon

Remove useless (same as parent) method

parent 88908f35
......@@ -39,9 +39,6 @@ class SevenFiftyGramsBackend(BaseBackend, ICapRecipe):
LICENSE = 'AGPLv3+'
BROWSER = SevenFiftyGramsBrowser
def create_default_browser(self):
return self.create_browser()
def get_recipe(self, id):
return self.browser.get_recipe(id)
......
......@@ -36,9 +36,6 @@ class AllocineBackend(BaseBackend, ICapCinema):
LICENSE = 'AGPLv3+'
BROWSER = AllocineBrowser
def create_default_browser(self):
return self.create_browser()
def get_movie(self, id):
return self.browser.get_movie(id)
......
......@@ -36,9 +36,6 @@ class AllrecipesBackend(BaseBackend, ICapRecipe):
LICENSE = 'AGPLv3+'
BROWSER = AllrecipesBrowser
def create_default_browser(self):
return self.create_browser()
def get_recipe(self, id):
return self.browser.get_recipe(id)
......
......@@ -37,9 +37,6 @@ class AttilasubBackend(BaseBackend, ICapSubtitle):
LANGUAGE_LIST = ['fr']
BROWSER = AttilasubBrowser
def create_default_browser(self):
return self.create_browser()
def get_subtitle(self, id):
return self.browser.get_subtitle(id)
......
......@@ -36,9 +36,6 @@ class BtmonBackend(BaseBackend, ICapTorrent):
LICENSE = 'AGPLv3+'
BROWSER = BtmonBrowser
def create_default_browser(self):
return self.create_browser()
def get_torrent(self, id):
return self.browser.get_torrent(id)
......
......@@ -39,9 +39,6 @@ class CuisineazBackend(BaseBackend, ICapRecipe):
LICENSE = 'AGPLv3+'
BROWSER = CuisineazBrowser
def create_default_browser(self):
return self.create_browser()
def get_recipe(self, id):
return self.browser.get_recipe(id)
......
......@@ -36,9 +36,6 @@ class GeolocIpBackend(BaseBackend, ICapGeolocIp):
DESCRIPTION = u"GeolocIP IP addresses geolocation service"
BROWSER = BaseBrowser
def create_default_browser(self):
return self.create_browser()
def get_location(self, ipaddr):
with self.browser:
......
......@@ -36,9 +36,6 @@ class ImdbBackend(BaseBackend, ICapCinema):
LICENSE = 'AGPLv3+'
BROWSER = ImdbBrowser
def create_default_browser(self):
return self.create_browser()
def get_movie(self, id):
return self.browser.get_movie(id)
......
......@@ -36,9 +36,6 @@ class IpinfodbBackend(BaseBackend, ICapGeolocIp):
DESCRIPTION = u"IPInfoDB IP addresses geolocation service"
BROWSER = BaseBrowser
def create_default_browser(self):
return self.create_browser()
def get_location(self, ipaddr):
with self.browser:
......
......@@ -36,9 +36,6 @@ class IsohuntBackend(BaseBackend, ICapTorrent):
LICENSE = 'AGPLv3+'
BROWSER = IsohuntBrowser
def create_default_browser(self):
return self.create_browser()
def get_torrent(self, id):
return self.browser.get_torrent(id)
......
......@@ -38,9 +38,6 @@ class KickassBackend(BaseBackend, ICapTorrent):
LICENSE = 'AGPLv3+'
BROWSER = KickassBrowser
def create_default_browser(self):
return self.create_browser()
def get_torrent(self, id):
return self.browser.get_torrent(id)
......
......@@ -36,9 +36,6 @@ class MarmitonBackend(BaseBackend, ICapRecipe):
LICENSE = 'AGPLv3+'
BROWSER = MarmitonBrowser
def create_default_browser(self):
return self.create_browser()
def get_recipe(self, id):
return self.browser.get_recipe(id)
......
......@@ -36,9 +36,6 @@ class MeteofranceBackend(BaseBackend, ICapWeather):
LICENSE = 'AGPLv3+'
BROWSER = MeteofranceBrowser
def create_default_browser(self):
return self.create_browser()
def get_current(self, city_id):
return self.browser.get_current(city_id)
......
......@@ -37,9 +37,6 @@ class OpensubtitlesBackend(BaseBackend, ICapSubtitle):
LICENSE = 'AGPLv3+'
BROWSER = OpensubtitlesBrowser
def create_default_browser(self):
return self.create_browser()
def get_subtitle(self, id):
return self.browser.get_subtitle(id)
......
......@@ -36,9 +36,6 @@ class ParolesmaniaBackend(BaseBackend, ICapLyrics):
LICENSE = 'AGPLv3+'
BROWSER = ParolesmaniaBrowser
def create_default_browser(self):
return self.create_browser()
def get_lyrics(self, id):
return self.browser.get_lyrics(id)
......
......@@ -34,9 +34,6 @@ class ParolesmusiqueBackend(BaseBackend, ICapLyrics):
LICENSE = 'AGPLv3+'
BROWSER = ParolesmusiqueBrowser
def create_default_browser(self):
return self.create_browser()
def get_lyrics(self, id):
return self.browser.get_lyrics(id)
......
......@@ -34,9 +34,6 @@ class ParolesnetBackend(BaseBackend, ICapLyrics):
LICENSE = 'AGPLv3+'
BROWSER = ParolesnetBrowser
def create_default_browser(self):
return self.create_browser()
def get_lyrics(self, id):
return self.browser.get_lyrics(id)
......
......@@ -37,9 +37,6 @@ class PodnapisiBackend(BaseBackend, ICapSubtitle):
LICENSE = 'AGPLv3+'
BROWSER = PodnapisiBrowser
def create_default_browser(self):
return self.create_browser()
def get_subtitle(self, id):
return self.browser.get_subtitle(id)
......
......@@ -36,9 +36,6 @@ class SeeklyricsBackend(BaseBackend, ICapLyrics):
LICENSE = 'AGPLv3+'
BROWSER = SeeklyricsBrowser
def create_default_browser(self):
return self.create_browser()
def get_lyrics(self, id):
return self.browser.get_lyrics(id)
......
......@@ -34,9 +34,6 @@ class SupertoinetteBackend(BaseBackend, ICapRecipe):
LICENSE = 'AGPLv3+'
BROWSER = SupertoinetteBrowser
def create_default_browser(self):
return self.create_browser()
def get_recipe(self, id):
return self.browser.get_recipe(id)
......
......@@ -36,9 +36,6 @@ class TvsubtitlesBackend(BaseBackend, ICapSubtitle):
LICENSE = 'AGPLv3+'
BROWSER = TvsubtitlesBrowser
def create_default_browser(self):
return self.create_browser()
def get_subtitle(self, id):
return self.browser.get_subtitle(id)
......
......@@ -35,9 +35,6 @@ class WeatherBackend(BaseBackend, ICapWeather):
LICENSE = 'AGPLv3+'
BROWSER = WeatherBrowser
def create_default_browser(self):
return self.create_browser()
def iter_city_search(self, pattern):
return self.browser.iter_city_search(pattern)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment