[PATCH v1 06/16] Py2/3 compliant tools/gdb/python/percpu.py
Anmol mishra
anmol.j2020 at gmail.com
Wed Mar 18 12:19:16 UTC 2020
From: Anmol Mishra <anmol.j2020 at gmail.com>
---
tools/gdb/python/percpu.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/gdb/python/percpu.py b/tools/gdb/python/percpu.py
index 991bdf8..fb2d6d8 100644
--- a/tools/gdb/python/percpu.py
+++ b/tools/gdb/python/percpu.py
@@ -31,9 +31,11 @@
# RTEMS Per CPU Table
#
+from __future__ import absolute_import
+
import gdb
-import configuration
+from . import configuration
def _table(cpu):
max_cpus = configuration.maximum_processors()
--
2.21.0 (Apple Git-122.2)
More information about the devel
mailing list