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/Hook.py | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 module/plugins/internal/Hook.py (limited to 'module/plugins/internal/Hook.py') diff --git a/module/plugins/internal/Hook.py b/module/plugins/internal/Hook.py deleted file mode 100644 index f1308c25b..000000000 --- a/module/plugins/internal/Hook.py +++ /dev/null @@ -1,34 +0,0 @@ -# -*- coding: utf-8 -*- - -from module.plugins.internal.Addon import Addon, threaded - - -class Hook(Addon): - __name__ = "Hook" - __type__ = "hook" - __version__ = "0.16" - __status__ = "testing" - - __description__ = """Base hook plugin""" - __license__ = "GPLv3" - __authors__ = [("mkaay" , "mkaay@mkaay.de" ), - ("RaNaN" , "RaNaN@pyload.org" ), - ("Walter Purcaro", "vuolter@gmail.com")] - - - PERIODICAL_INTERVAL = 10 - - - def __init__(self, *args, **kwargs): - super(Hook, self).__init__(*args, **kwargs) - if self.PERIODICAL_INTERVAL: - self.start_periodical(self.PERIODICAL_INTERVAL) - - - #@TODO: Remove in 0.4.10 - def _log(self, level, plugintype, pluginname, messages): - return super(Addon, self)._log(level, plugintype, pluginname.replace("Hook", ""), messages) - - - def periodical(self): - pass -- cgit v1.2.3