[PATCH v1 08/16] Py2/3 compliant tools/gdb/python/threads.py

Anmol mishra anmol.j2020 at gmail.com
Wed Mar 18 12:19:18 UTC 2020


From: Anmol Mishra <anmol.j2020 at gmail.com>

---
 tools/gdb/python/threads.py | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/tools/gdb/python/threads.py b/tools/gdb/python/threads.py
index 690f77f..d050acc 100644
--- a/tools/gdb/python/threads.py
+++ b/tools/gdb/python/threads.py
@@ -31,13 +31,15 @@
 # RTEMS Threads Support
 #
 
+from __future__ import absolute_import
+
 import gdb
 
-import chains
-import objects
-import percpu
-import rbtrees
-import time
+from . import chains
+from . import objects
+from . import percpu
+from . import rbtrees
+from . import time
 
 def task_chain(chain):
     tasks = []
-- 
2.21.0 (Apple Git-122.2)



More information about the devel mailing list