mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
meta: drop _PYTHON_SYSCONFIGDATA_NAME hacks
(From OE-Core rev: d3a81dd0e72a3495bfc7cc969c2bb806b666023d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3ec7f79ad2
commit
acfdab8daa
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user