summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-03-28 22:37:38 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-06-28 02:47:21 +0200
commit97ab599dd8aebd14e6f7369a59d415fdeca914bc (patch)
treefad17453cbf07ab91d81265f618b35622580f7ef /module/network
parentRemove bad whitespaces (diff)
downloadpyload-97ab599dd8aebd14e6f7369a59d415fdeca914bc.tar.xz
Fix EOF
Merged vuolter/pyload@2635efd
Diffstat (limited to 'module/network')
-rw-r--r--module/network/Browser.py1
-rw-r--r--module/network/Bucket.py1
-rw-r--r--module/network/HTTPChunk.py2
-rw-r--r--module/network/HTTPRequest.py1
4 files changed, 1 insertions, 4 deletions
diff --git a/module/network/Browser.py b/module/network/Browser.py
index d68a23687..8c9dfa737 100644
--- a/module/network/Browser.py
+++ b/module/network/Browser.py
@@ -143,4 +143,3 @@ if __name__ == "__main__":
#browser.getPage("http://google.com/search?q=bar")
browser.httpDownload("http://speedtest.netcologne.de/test_10mb.bin", "test_10mb.bin")
-
diff --git a/module/network/Bucket.py b/module/network/Bucket.py
index add3861d6..727d28eb9 100644
--- a/module/network/Bucket.py
+++ b/module/network/Bucket.py
@@ -58,4 +58,3 @@ class Bucket:
delta = self.rate * (now - self.timestamp)
self.tokens = min(self.rate, self.tokens + delta)
self.timestamp = now
-
diff --git a/module/network/HTTPChunk.py b/module/network/HTTPChunk.py
index 91a1b06e8..14c24be15 100644
--- a/module/network/HTTPChunk.py
+++ b/module/network/HTTPChunk.py
@@ -290,4 +290,4 @@ class HTTPChunk(HTTPRequest):
""" closes everything, unusable after this """
if self.fp: self.fp.close()
self.c.close()
- if hasattr(self, "p"): del self.p \ No newline at end of file
+ if hasattr(self, "p"): del self.p
diff --git a/module/network/HTTPRequest.py b/module/network/HTTPRequest.py
index 6b4df665d..302ed75df 100644
--- a/module/network/HTTPRequest.py
+++ b/module/network/HTTPRequest.py
@@ -303,4 +303,3 @@ if __name__ == "__main__":
url = "http://pyload.org"
c = HTTPRequest()
print c.load(url)
-