MCPcopy Index your code
hub / github.com/pyload/pyload / event_pull

Method event_pull

module/plugins/hooks/IRC.py:355–364  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

353 return ["INFO: Pushed package #%d to queue." % id]
354
355 def event_pull(self, args):
356 if not args:
357 return ["ERROR: Pull package from queue like this: pull <package id>."]
358
359 id = int(args[0])
360 if not self.pyload.api.getPackageData(id):
361 return ["ERROR: Package #%d does not exist." % id]
362
363 self.pyload.api.pullFromQueue(id)
364 return ["INFO: Pulled package #%d from queue to collector." % id]
365
366 def event_c(self, args):
367 """

Callers

nothing calls this directly

Calls 2

getPackageDataMethod · 0.45
pullFromQueueMethod · 0.45

Tested by

no test coverage detected