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

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