diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-04 14:31:10 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-04 14:31:10 +0200 |
commit | 985063c78564e9875df85daf3b106b41404240d2 (patch) | |
tree | d7dc43ee218c0f07ad8875d11142b2a499562847 /pyload | |
parent | Remove lib (diff) | |
download | pyload-985063c78564e9875df85daf3b106b41404240d2.tar.xz |
Finish replace word "hook"
Diffstat (limited to 'pyload')
-rw-r--r-- | pyload/database/FileDatabase.py | 2 | ||||
-rw-r--r-- | pyload/manager/PluginManager.py | 2 | ||||
-rw-r--r-- | pyload/plugins/addon/DownloadScheduler.py | 2 | ||||
-rw-r--r-- | pyload/plugins/base/Addon.py | 2 | ||||
-rw-r--r-- | pyload/plugins/internal/MultiHoster.py | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/pyload/database/FileDatabase.py b/pyload/database/FileDatabase.py index c03136f9a..bdc0f5994 100644 --- a/pyload/database/FileDatabase.py +++ b/pyload/database/FileDatabase.py @@ -522,7 +522,7 @@ class FileHandler: self.core.pullManager.addEvent(e) def checkPackageFinished(self, pyfile): - """ checks if package is finished and calls hookmanager """ + """ checks if package is finished and calls AddonManager """ ids = self.db.getUnfinished(pyfile.packageid) if not ids or (pyfile.id in ids and len(ids) == 1): diff --git a/pyload/manager/PluginManager.py b/pyload/manager/PluginManager.py index 939b17347..57bba09a2 100644 --- a/pyload/manager/PluginManager.py +++ b/pyload/manager/PluginManager.py @@ -34,7 +34,7 @@ class PluginManager: self.plugins = {} self.createIndex() - #register for import hook + #register for import addon sys.meta_path.append(self) diff --git a/pyload/plugins/addon/DownloadScheduler.py b/pyload/plugins/addon/DownloadScheduler.py index 21b756ea6..20c5ed1e1 100644 --- a/pyload/plugins/addon/DownloadScheduler.py +++ b/pyload/plugins/addon/DownloadScheduler.py @@ -23,7 +23,7 @@ class DownloadScheduler(Addon): def setup(self): - self.cb = None # callback to scheduler job; will be by removed hookmanager when addon unloaded + self.cb = None # callback to scheduler job; will be by removed AddonManager when addon unloaded def coreReady(self): self.updateSchedule() diff --git a/pyload/plugins/base/Addon.py b/pyload/plugins/base/Addon.py index a0b8b9782..3cc152666 100644 --- a/pyload/plugins/base/Addon.py +++ b/pyload/plugins/base/Addon.py @@ -51,7 +51,7 @@ class Addon(Base): #: Provide information in dict here, usable by API `getInfo` self.info = None - #: Callback of periodical job task, used by hookmanager + #: Callback of periodical job task, used by AddonManager self.cb = None #: `AddonManager` diff --git a/pyload/plugins/internal/MultiHoster.py b/pyload/plugins/internal/MultiHoster.py index c94f87493..1781cb17f 100644 --- a/pyload/plugins/internal/MultiHoster.py +++ b/pyload/plugins/internal/MultiHoster.py @@ -172,7 +172,7 @@ class MultiHoster(Addon): del dict['new_name'] def unload(self): - """Remove override for all hosters. Scheduler job is removed by hookmanager""" + """Remove override for all hosters. Scheduler job is removed by AddonManager""" for hoster in self.supported: self.unloadHoster(hoster) |