From 9f2ebe486a3e155fb6a60e07cccb77ab6a772eb2 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 26 Oct 2014 02:31:54 +0200 Subject: Extend translation support in plugins + a lot of code cosmetics and typo fixes --- module/plugins/hoster/VeehdCom.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'module/plugins/hoster/VeehdCom.py') diff --git a/module/plugins/hoster/VeehdCom.py b/module/plugins/hoster/VeehdCom.py index 0283674d1..ad99793e4 100644 --- a/module/plugins/hoster/VeehdCom.py +++ b/module/plugins/hoster/VeehdCom.py @@ -19,10 +19,6 @@ class VeehdCom(Hoster): __authors__ = [("cat", "cat@pyload")] - def _debug(self, msg): - self.logDebug("[%s] %s" % (self.__name__, msg)) - - def setup(self): self.multiDL = True self.req.canContinue = True @@ -39,7 +35,7 @@ class VeehdCom(Hoster): def download_html(self): url = self.pyfile.url - self._debug("Requesting page: %s" % (repr(url),)) + self.logDebug("Requesting page: %s" % repr(url)) self.html = self.load(url) @@ -58,7 +54,7 @@ class VeehdCom(Hoster): m = re.search(r']*>([^<]+) on Veehd', self.html) if m is None: - self.error("Video title not found") + self.error(_("Video title not found")) name = m.group(1) @@ -80,6 +76,6 @@ class VeehdCom(Hoster): m = re.search(r'