[PATCH v1 03/16] Py2/3 compliant tools/gdb/python/mutex.py
Anmol mishra
anmol.j2020 at gmail.com
Wed Mar 18 12:19:13 UTC 2020
From: Anmol Mishra <anmol.j2020 at gmail.com>
---
tools/gdb/python/mutex.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/tools/gdb/python/mutex.py b/tools/gdb/python/mutex.py
index 17f1900..eaae1ac 100644
--- a/tools/gdb/python/mutex.py
+++ b/tools/gdb/python/mutex.py
@@ -31,11 +31,13 @@
# RTEMS Mutex Support
#
+from __future__ import absolute_import
+
import gdb
-import objects
-import percpu
-import threads
+from . import objects
+from . import percpu
+from . import threads
class attributes:
CORE_MUTEX_NESTING_ACQUIRES = 0
--
2.21.0 (Apple Git-122.2)
More information about the devel
mailing list