summaryrefslogtreecommitdiffstats
path: root/pyload/network/HTTPChunk.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 17:34:59 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 17:34:59 +0200
commit2db634796bd5426c11f7849ce480265091f128c8 (patch)
tree5a54f7535e9c0ff1ec65f05f347b6eafbb496922 /pyload/network/HTTPChunk.py
parentCleanup (diff)
downloadpyload-2db634796bd5426c11f7849ce480265091f128c8.tar.xz
Cleanup (2)
Diffstat (limited to 'pyload/network/HTTPChunk.py')
-rw-r--r--pyload/network/HTTPChunk.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/pyload/network/HTTPChunk.py b/pyload/network/HTTPChunk.py
index 5395b7bda..c11ad9e3c 100644
--- a/pyload/network/HTTPChunk.py
+++ b/pyload/network/HTTPChunk.py
@@ -67,9 +67,8 @@ class ChunkInfo(object):
fh.write("\trange:%i-%i\n" % c[1])
fh.close()
- @staticmethod
-
+ @staticmethod
def load(name):
fs_name = fs_encode("%s.chunks" % name)
if not exists(fs_name):
@@ -153,9 +152,8 @@ class HTTPChunk(HTTPRequest):
def __repr__(self):
return "<HTTPChunk id=%d, size=%d, arrived=%d>" % (self.id, self.size, self.arrived)
- @property
-
+ @property
def cj(self):
return self.p.cj