summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar Jeix <devnull@localhost> 2010-11-19 17:08:25 +0100
committerGravatar Jeix <devnull@localhost> 2010-11-19 17:08:25 +0100
commitf9b0874511f9fca0b7378c01449cc0c88c9d796e (patch)
tree1b1081f9fe169143f679aff6c30dae4b7fdaf529 /pyLoadCore.py
parentmissing update event (diff)
downloadpyload-f9b0874511f9fca0b7378c01449cc0c88c9d796e.tar.xz
gui: add links to existing packages
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):