From f436194dc7ecc611f2bbe693b589d7f4993ea41e Mon Sep 17 00:00:00 2001 From: John Kacur Date: Wed, 13 Jan 2021 02:10:24 -0500 Subject: [PATCH] rteval: Fix incorrect import in sysinfo dir Fix incorrect import in rteval/sysinfo/__init__.py This could cause a traceback rteval --duration=60 Traceback (most recent call last): File "/usr/bin/rteval", line 196, in from rteval.sysinfo import dmi File "/usr/lib/python3.6/site-packages/rteval/sysinfo/__init__.py", line 37, in import rteval.sysinfo.dmi as dmi AttributeError: module 'rteval' has no attribute 'sysinfo' Signed-off-by: John Kacur --- rteval/sysinfo/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rteval/sysinfo/__init__.py b/rteval/sysinfo/__init__.py index 736354b6258e..0436ebb350d9 100644 --- a/rteval/sysinfo/__init__.py +++ b/rteval/sysinfo/__init__.py @@ -34,7 +34,7 @@ from rteval.sysinfo.memory import MemoryInfo from rteval.sysinfo.osinfo import OSInfo from rteval.sysinfo.network import NetworkInfo from rteval.sysinfo.cmdline import cmdlineInfo -import rteval.sysinfo.dmi as dmi +from rteval.sysinfo import dmi class SystemInfo(KernelInfo, SystemServices, dmi.DMIinfo, CPUtopology, MemoryInfo, OSInfo, NetworkInfo, cmdlineInfo): -- 2.26.2