From ae062ebe90de1086a40c7447460457c54968263c Mon Sep 17 00:00:00 2001 From: pictuga Date: Tue, 7 Apr 2015 18:59:37 +0800 Subject: [PATCH] Remove deprecated https error catch --- morss/morss.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/morss/morss.py b/morss/morss.py index 829a139..3a03196 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -326,9 +326,6 @@ def Fetch(url, options): except (HTTPError) as e: raise MorssException('Error downloading feed (HTTP Error %s)' % e.code) - except (crawler.InvalidCertificateException) as e: - raise MorssException('Error downloading feed (Invalid SSL Certificate)') - except (IOError, HTTPException): raise MorssException('Error downloading feed')