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

Method closeChunk

module/network/HTTPDownload.py:314–320  ·  view source on GitHub ↗
(self, chunk)

Source from the content-addressed store, hash-verified

312 if chunk.c == handle: return chunk
313
314 def closeChunk(self, chunk):
315 try:
316 self.m.remove_handle(chunk.c)
317 except pycurl.error, e:
318 self.log.debug("Error removing chunk: %s" % str(e))
319 finally:
320 chunk.close()
321
322 def close(self):
323 """ cleanup """

Callers 3

downloadMethod · 0.95
_downloadMethod · 0.95
closeMethod · 0.95

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected