trevert handling of requests.exceptions.ReadTimeout - amprolla - devuan's apt repo merger
 (HTM) git clone git://parazyd.org/amprolla.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit f82aba29785dd49fa0ec1425798de134366e2abd
 (DIR) parent 9bd473b1473e43464125431c544305e5a132c941
 (HTM) Author: parazyd <parazyd@dyne.org>
       Date:   Sun, 23 Jul 2017 14:56:20 +0200
       
       revert handling of requests.exceptions.ReadTimeout
       
       needs investigation because the thread gets stuck upon handling
       
       Diffstat:
         M lib/net.py                          |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/lib/net.py b/lib/net.py
       t@@ -21,8 +21,8 @@ def download(uris):
        
            try:
                r = requests.get(url, stream=True, timeout=20)
       -    except (requests.exceptions.ConnectionError,
       -            requests.exceptions.ReadTimeout) as e:
       +    # TODO: investigate also requests.exceptions.ReadTimeout
       +    except requests.exceptions.ConnectionError as e:
                warn('Caught exception: "%s". Retrying...' % e)
                return download(uris)