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

Method remove

module/plugins/internal/misc.py:210–221  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

208 return True
209
210 def remove(self, item):
211 queue = self.get()
212 try:
213 queue.remove(item)
214
215 except ValueError:
216 pass
217
218 if isinstance(queue, list):
219 return self.delete()
220
221 return self.set(queue)
222
223
224def lock(fn):

Callers 3

removeFunction · 0.45
copy_treeFunction · 0.45
move_treeFunction · 0.45

Calls 3

getMethod · 0.95
deleteMethod · 0.95
setMethod · 0.95

Tested by

no test coverage detected