summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-smartpm/smart-set-noprogress-for-pycurl.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-01-02 15:14:41 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-14 14:42:16 +0000
commit372bcd3c978524fa2ca31e4fe14f288f67562cdb (patch)
tree81a8bbbf8bf754f9891e81ccfdc80ea5e1ec32ac /meta/recipes-devtools/python/python-smartpm/smart-set-noprogress-for-pycurl.patch
parentb70f96a17fc13a74c04fd56e34cdc8f84dbf2f69 (diff)
downloadpoky-372bcd3c978524fa2ca31e4fe14f288f67562cdb.tar.gz
python-smartpm: remove the recipe
(From OE-Core rev: 9ff0e8b4012f1e68f6caebc3027f9d1bada00f13) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-smartpm/smart-set-noprogress-for-pycurl.patch')
-rw-r--r--meta/recipes-devtools/python/python-smartpm/smart-set-noprogress-for-pycurl.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/meta/recipes-devtools/python/python-smartpm/smart-set-noprogress-for-pycurl.patch b/meta/recipes-devtools/python/python-smartpm/smart-set-noprogress-for-pycurl.patch
deleted file mode 100644
index 2885998acc..0000000000
--- a/meta/recipes-devtools/python/python-smartpm/smart-set-noprogress-for-pycurl.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1Set NOPROGRESS for pycurl just as same as default operation in pycurl module itself.
2If set NOPROGRESS with 0 for pycurl, it causes dead lock issue of Python GIL when
3call smart library by python gui just like pygtk.
4
5Upstream-Status: Pending
6
7Signed-off-by: Kai Kang <kai.kang@windriver.com>
8---
9diff -u smart-1.4.1/smart.orig/fetcher.py smart-1.4.1/smart/fetcher.py
10--- smart-1.4.1/smart.orig/fetcher.py 2014-07-15 16:42:19.240437080 +0800
11+++ smart-1.4.1/smart/fetcher.py 2014-07-15 17:02:37.812470289 +0800
12@@ -1720,7 +1720,7 @@
13 handle.setopt(pycurl.OPT_FILETIME, 1)
14 handle.setopt(pycurl.LOW_SPEED_LIMIT, 1)
15 handle.setopt(pycurl.LOW_SPEED_TIME, SOCKETTIMEOUT)
16- handle.setopt(pycurl.NOPROGRESS, 0)
17+ handle.setopt(pycurl.NOPROGRESS, 1)
18 handle.setopt(pycurl.PROGRESSFUNCTION, progress)
19 handle.setopt(pycurl.WRITEDATA, local)
20 handle.setopt(pycurl.FOLLOWLOCATION, 1)