你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
Updated host info for Linux to remove deprecated use of platform.linux_distribution() in Python 3.8
这个提交包含在:
@@ -323,8 +323,7 @@ def get_host_info():
|
|||||||
hyperthreading = False
|
hyperthreading = False
|
||||||
|
|
||||||
# OS version
|
# OS version
|
||||||
osrelease = subprocess.check_output("cat /proc/sys/kernel/osrelease", shell=True).decode('utf-8').strip()
|
osversion = platform.platform()
|
||||||
osversion = 'Linux (' + osrelease + ', ' + platform.linux_distribution()[0] + ')'
|
|
||||||
|
|
||||||
# Dictionary of host information
|
# Dictionary of host information
|
||||||
hostinfo = {}
|
hostinfo = {}
|
||||||
|
在新工单中引用
屏蔽一个用户