Handle some HTTP sub exception. - zs - Zeitungsschau rss to email converter
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 931341e7b92f25527dc5894fafb8a6ff4c645ff5
(DIR) parent 18454a1fe6f19aa9cdd780128a713066ee23ba9d
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Thu, 20 Mar 2014 06:42:31 +0100
Handle some HTTP sub exception.
Diffstat:
zs.py | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/zs.py b/zs.py
@@ -45,6 +45,9 @@ def run(db, selfeed=None, dryrun=False):
except http.client.IncompleteRead:
estr = "incompleteread"
continue
+ except http.client.BadStatusLine:
+ estr = "badstatusline"
+ continue
if curfeed == None:
continue