From 705d0e5163876c94b9b90a440eb38b152bcba1e0 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 17 Oct 2010 14:03:52 +0200 Subject: rs fix, more cleanup stuff --- module/network/Request.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'module/network') diff --git a/module/network/Request.py b/module/network/Request.py index 14c9f0a7a..31a5a7288 100755 --- a/module/network/Request.py +++ b/module/network/Request.py @@ -395,10 +395,15 @@ class Request: self.clean() if hasattr(self, "pycurl"): del self.pycurl + if hasattr(self, "cookieJar"): + del self.cookieJar def clean(self): + """ clean Reqest, its unusable after this """ try: self.pycurl.close() + if hasattr(self, "cookieJar"): + del self.cookieJar except: pass -- cgit v1.2.3