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

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