diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 17:34:59 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 17:34:59 +0200 |
commit | 2db634796bd5426c11f7849ce480265091f128c8 (patch) | |
tree | 5a54f7535e9c0ff1ec65f05f347b6eafbb496922 /pyload/network/HTTPChunk.py | |
parent | Cleanup (diff) | |
download | pyload-2db634796bd5426c11f7849ce480265091f128c8.tar.xz |
Cleanup (2)
Diffstat (limited to 'pyload/network/HTTPChunk.py')
-rw-r--r-- | pyload/network/HTTPChunk.py | 6 |
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 |