[yum-commits] urlgrabber/grabber.py

Ville Skyttä scop at osuosl.org
Thu Feb 24 20:43:35 UTC 2011


 urlgrabber/grabber.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d47bac8e4b5365074568e0fc237812bc86281fb1
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu Feb 24 22:41:36 2011 +0200

    Fix non-pycurl error handling in _do_perform().

diff --git a/urlgrabber/grabber.py b/urlgrabber/grabber.py
index 134050d..dc97b7b 100644
--- a/urlgrabber/grabber.py
+++ b/urlgrabber/grabber.py
@@ -1449,7 +1449,7 @@ class PyCurlFileObject(object):
         else:
             if self._error[1]:
                 msg = self._error[1]
-                err = URLGRabError(14, msg)
+                err = URLGrabError(14, msg)
                 err.url = urllib.unquote(self.url)
                 raise err
 


More information about the Yum-commits mailing list