summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 01be0e185..a926b876d 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -66,7 +66,6 @@ from module.FileDatabase import PyFile
from module.Scheduler import Scheduler
from module.JsEngine import JsEngine
-from module.PullEvents import UpdateEvent
from codecs import getwriter
if os.name == "nt":
@@ -713,15 +712,11 @@ class ServerMethods():
def add_files(self, pid, links):
pid = int(pid)
- p = self.core.files.getPackage()
self.core.files.addLinks(links, pid)
self.core.log.info(_("Added %(count)d links to package #%(package)d ") % {"count": len(links), "package": pid})
self.core.files.save()
- e = UpdateEvent("pack", pid, "collector" if not p.queue else "queue")
- self.core.pullManager.addEvent(e)
-
return pid
def push_package_to_queue(self, id):