summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-11-13 20:48:53 +0100
committerSteve Sakoman <steve@sakoman.com>2021-02-12 05:42:52 -1000
commit961b6ce18c4dfff2fa54306230480dbd0cd970ee (patch)
tree985f525795ad9acf48567be07aafcdd5280a05a9 /meta/lib
parent458b8f495d6c5e5dfee5b917e1ce14bba31a6d05 (diff)
downloadopenembedded-core-contrib-961b6ce18c4dfff2fa54306230480dbd0cd970ee.tar.gz
meta: drop _PYTHON_SYSCONFIGDATA_NAME hacks
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d3a81dd0e72a3495bfc7cc969c2bb806b666023d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/prservice.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/lib/oe/prservice.py b/meta/lib/oe/prservice.py
index 2d3c9c7e50..fcdbe66c19 100644
--- a/meta/lib/oe/prservice.py
+++ b/meta/lib/oe/prservice.py
@@ -3,10 +3,6 @@
#
def prserv_make_conn(d, check = False):
- # Otherwise this fails when called from recipes which e.g. inherit python3native (which sets _PYTHON_SYSCONFIGDATA_NAME) with:
- # No module named '_sysconfigdata'
- if '_PYTHON_SYSCONFIGDATA_NAME' in os.environ:
- del os.environ['_PYTHON_SYSCONFIGDATA_NAME']
import prserv.serv
host_params = list([_f for _f in (d.getVar("PRSERV_HOST") or '').split(':') if _f])
try: