Blame SOURCES/BZ-1099101-revert-curl-ctrl-c.patch

babe2e
commit 545eb9bbc325a2f59803dfb199ef64dec6db8774
babe2e
Author: Valentina Mukhamedzhanova <vmukhame@redhat.com>
babe2e
Date:   Wed Sep 10 10:04:10 2014 +0200
babe2e
babe2e
    Revert bf0a0be71373dec515bbb54e0613a3b9b0c00b04 - curl error codes.
babe2e
babe2e
diff --git a/urlgrabber/grabber.py b/urlgrabber/grabber.py
babe2e
index 69cd113..fd31123 100644
babe2e
--- a/urlgrabber/grabber.py
babe2e
+++ b/urlgrabber/grabber.py
babe2e
@@ -1524,7 +1524,7 @@ class PyCurlFileObject(object):
babe2e
                 err.url = errurl
babe2e
                 raise err
babe2e
                 
babe2e
-            elif errcode in (42, 55, 56):
babe2e
+            elif errcode == 42:
babe2e
                 # this is probably wrong but ultimately this is what happens
babe2e
                 # we have a legit http code and a pycurl 'writer failed' code
babe2e
                 # which almost always means something aborted it from outside