From 8e15c1af88b61cebda68a3b40352bf388c2010c7 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 10 Oct 2015 17:49:14 +0200 Subject: Spare code cosmetics (3) --- module/plugins/internal/Base.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'module/plugins/internal/Base.py') diff --git a/module/plugins/internal/Base.py b/module/plugins/internal/Base.py index e3aaf202b..578b12f7f 100644 --- a/module/plugins/internal/Base.py +++ b/module/plugins/internal/Base.py @@ -45,7 +45,7 @@ def check_abort(fn): class Base(Plugin): - __name__ = "Base" + __name = "Base" __type__ = "base" __version__ = "0.11" __status__ = "testing" @@ -123,7 +123,7 @@ class Base(Plugin): 'url' : replace_patterns(url, cls.URL_REPLACEMENTS)} try: - info['pattern'] = re.match(cls.__pattern__, url).groupdict() + info['pattern'] = re.match(cls.__pattern, url).groupdict() except Exception: pass @@ -208,7 +208,8 @@ class Base(Plugin): self.pyfile.setStatus("starting") - self.log_debug("PROCESS URL " + self.pyfile.url, "PLUGIN VERSION %s" % self.__version__) + self.log_debug("PROCESS URL " + self.pyfile.url, + "PLUGIN VERSION %s" % self.__version) self.process(self.pyfile) -- cgit v1.2.3