summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar Jeix <devnull@localhost> 2010-10-10 13:45:26 +0200
committerGravatar Jeix <devnull@localhost> 2010-10-10 13:45:26 +0200
commit43418b6295beef9eed4a4629003adf02dd47f3e2 (patch)
tree04717e8e68468b286fe17e5529d6d6fc23d4e0e0 /module/network
parentnetload fix no. 2 (diff)
downloadpyload-43418b6295beef9eed4a4629003adf02dd47f3e2.tar.xz
workaround
Diffstat (limited to 'module/network')
-rw-r--r--module/network/FtpRequest.py15
-rw-r--r--module/network/XdccRequest.py13
2 files changed, 9 insertions, 19 deletions
diff --git a/module/network/FtpRequest.py b/module/network/FtpRequest.py
index eecb40c9f..fb2e6246e 100644
--- a/module/network/FtpRequest.py
+++ b/module/network/FtpRequest.py
@@ -244,16 +244,11 @@ class FtpRequest:
self.pycurl.close()
except:
pass
-
-# def getURL(url):
- # """
- # currently used for update check
- # """
- # req = Request()
- # c = req.load(url)
- # req.pycurl.close()
- # return c
-
+
+ def clearCookies(self):
+ # workaround </3
+ pass
+
if __name__ == "__main__":
import doctest
doctest.testmod()
diff --git a/module/network/XdccRequest.py b/module/network/XdccRequest.py
index 28aee262e..98e3e9f12 100644
--- a/module/network/XdccRequest.py
+++ b/module/network/XdccRequest.py
@@ -324,15 +324,10 @@ class XdccRequest:
except:
pass
-# def getURL(url):
- # """
- # currently used for update check
- # """
- # req = Request()
- # c = req.load(url)
- # req.pycurl.close()
- # return c
-
+ def clearCookies(self):
+ # workaround </3
+ pass
+
if __name__ == "__main__":
import doctest
doctest.testmod()