diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-05-12 22:25:39 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-05-12 22:25:39 +0200 |
commit | 971754eba93701cfb22bc4399a37debf238eddf1 (patch) | |
tree | e3a36023f93b73a1621de0c6c9503ccbb301fb03 /pyload/network/HTTPChunk.py | |
parent | Fix dict generators for python 2.5 (diff) | |
download | pyload-971754eba93701cfb22bc4399a37debf238eddf1.tar.xz |
General fixup (1)
Diffstat (limited to 'pyload/network/HTTPChunk.py')
-rw-r--r-- | pyload/network/HTTPChunk.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/network/HTTPChunk.py b/pyload/network/HTTPChunk.py index 1ce72a918..5252afb06 100644 --- a/pyload/network/HTTPChunk.py +++ b/pyload/network/HTTPChunk.py @@ -101,7 +101,7 @@ class ChunkInfo(object): return ci - def os.remove(self): + def remove(self): fs_name = fs_encode("%s.chunks" % self.name) if os.path.exists(fs_name): os.remove(fs_name) @@ -305,7 +305,7 @@ class HTTPChunk(HTTPRequest): self.fp.close() #: needs to be closed, or merging chunks will fail - def os.close(self): + def close(self): """ closes everything, unusable after this """ if self.fp: self.fp.close() self.c.close() |