From 5eb169bb6a83cb8827880290dbc727ef57fed4b7 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Thu, 25 Mar 2010 16:13:29 +0000 Subject: python-urlgrabber: Update to 3.9.1 with extra patches from Fedora Add a couple of extra patches from Fedora to make the latest createrepo package work. Signed-off-by: Joshua Lock --- .../python/python-urlgrabber/urlgrabber-reset.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta/packages/python/python-urlgrabber/urlgrabber-reset.patch (limited to 'meta/packages/python/python-urlgrabber/urlgrabber-reset.patch') diff --git a/meta/packages/python/python-urlgrabber/urlgrabber-reset.patch b/meta/packages/python/python-urlgrabber/urlgrabber-reset.patch new file mode 100644 index 000000000..b63e7c33a --- /dev/null +++ b/meta/packages/python/python-urlgrabber/urlgrabber-reset.patch @@ -0,0 +1,15 @@ +--- a/urlgrabber/grabber.py 2010-02-19 14:50:45.000000000 -0500 ++++ b/urlgrabber/grabber.py 2010-02-19 14:51:28.000000000 -0500 +@@ -1626,6 +1626,12 @@ + + _curl_cache = pycurl.Curl() # make one and reuse it over and over and over + ++def reset_curl_obj(): ++ """To make sure curl has reread the network/dns info we force a reload""" ++ global _curl_cache ++ _curl_cache.close() ++ _curl_cache = pycurl.Curl() ++ + + ##################################################################### + # DEPRECATED FUNCTIONS -- cgit v1.2.3