[yum-commits] urlgrabber/grabber.py
zpavlas at osuosl.org
zpavlas at osuosl.org
Tue Apr 16 12:21:15 UTC 2013
urlgrabber/grabber.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 129e0e9833ad9458acf599f29392214071e1f3b5
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date: Wed Mar 27 10:43:29 2013 +0100
curl_obj.reset() is the only way to reset HTTP ranges, revert to it. BZ 923951
diff --git a/urlgrabber/grabber.py b/urlgrabber/grabber.py
index f53ae30..9526dc1 100644
--- a/urlgrabber/grabber.py
+++ b/urlgrabber/grabber.py
@@ -1559,9 +1559,7 @@ class PyCurlFileObject(object):
def _do_open(self):
self.curl_obj = _curl_cache
- # reset() clears PYCURL_ERRORBUFFER, and there's no way
- # to reinitialize it, so better don't do that. BZ 896025
- #self.curl_obj.reset() # reset all old settings away, just in case
+ self.curl_obj.reset() # reset all old settings away, just in case
# setup any ranges
self._set_opts()
self._do_grab()
More information about the Yum-commits
mailing list