diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-30 21:35:20 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-30 22:16:10 +0100 |
commit | c09cae578e5568c0ac975124db31f9cac05d50e9 (patch) | |
tree | 1183a51498c1d2c7874ea0d3741c4f70dbfc66ef /meta-extras/packages/python/python-urlgrabber/urlgrabber-reset.patch | |
parent | a51df11c1596746c85b015562ed67f37382b88b5 (diff) | |
download | openembedded-core-c09cae578e5568c0ac975124db31f9cac05d50e9.tar.gz openembedded-core-c09cae578e5568c0ac975124db31f9cac05d50e9.tar.bz2 openembedded-core-c09cae578e5568c0ac975124db31f9cac05d50e9.tar.xz openembedded-core-c09cae578e5568c0ac975124db31f9cac05d50e9.zip |
Move prism-firmware, spectrum-fw, python-urlgrabber, python-iniparse and yum-metadata to meta-extras
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta-extras/packages/python/python-urlgrabber/urlgrabber-reset.patch')
-rw-r--r-- | meta-extras/packages/python/python-urlgrabber/urlgrabber-reset.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-extras/packages/python/python-urlgrabber/urlgrabber-reset.patch b/meta-extras/packages/python/python-urlgrabber/urlgrabber-reset.patch new file mode 100644 index 000000000..b63e7c33a --- /dev/null +++ b/meta-extras/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 |