summaryrefslogtreecommitdiffstats
path: root/module/HookManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/HookManager.py')
-rw-r--r--module/HookManager.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/module/HookManager.py b/module/HookManager.py
index f5835bce0..bb08fff4a 100644
--- a/module/HookManager.py
+++ b/module/HookManager.py
@@ -73,8 +73,12 @@ class HookManager():
plugin.downloadFinished(pyfile)
self.lock.release()
- def packageFinished(self, pyfile, package):
- raise NotImplementedError
+ def packageFinished(self, package):
+ self.lock.acquire()
+
+ for plugin in self.plugins:
+ plugin.packageFinished(package)
+ self.lock.release()
def beforeReconnecting(self, ip):
self.lock.acquire()