From 66b84a69745e41e8543ffd7ee0abb137a81f2563 Mon Sep 17 00:00:00 2001 From: mkaay Date: Thu, 6 May 2010 17:53:48 +0200 Subject: better request factory --- module/network/Request.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'module/network') diff --git a/module/network/Request.py b/module/network/Request.py index 73ba06e2f..3340a74da 100755 --- a/module/network/Request.py +++ b/module/network/Request.py @@ -347,10 +347,13 @@ class Request: def clean(self): try: - remove(self.cookieFile) self.pycurl.close() except: - print "cant clean" + pass + try: + remove(self.cookieFile) + except Exception as e: + pass def getURL(url): """ -- cgit v1.2.3