MCPcopy
hub / github.com/pyload/pyload / remove

Method remove

module/plugins/hooks/ExtractArchive.py:79–90  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

77 return True
78
79 def remove(self, item):
80 queue = self.get()
81 try:
82 queue.remove(item)
83
84 except ValueError:
85 pass
86
87 if not queue:
88 return self.delete()
89
90 return self.set(queue)
91
92
93class ExtractArchive(Addon):

Callers 15

decrypt_fileMethod · 0.45
checksum_failedMethod · 0.45
handle_freeMethod · 0.45
check_downloadMethod · 0.45
_postprocessMethod · 0.45
check_downloadMethod · 0.45
links_addedMethod · 0.45
links_addedMethod · 0.45
scanMethod · 0.45
get_hostersMethod · 0.45
remove_pluginsMethod · 0.45
check_failedMethod · 0.45

Calls 3

getMethod · 0.95
deleteMethod · 0.95
setMethod · 0.95

Tested by

no test coverage detected