[PATCH v1 02/16] Py2/3 compliant tools/gdb/python/pretty.py
Anmol mishra
anmol.j2020 at gmail.com
Wed Mar 18 12:19:12 UTC 2020
From: Anmol Mishra <anmol.j2020 at gmail.com>
---
tools/gdb/python/pretty.py | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/tools/gdb/python/pretty.py b/tools/gdb/python/pretty.py
index 3cbe052..302dc2f 100644
--- a/tools/gdb/python/pretty.py
+++ b/tools/gdb/python/pretty.py
@@ -30,12 +30,14 @@
# RTEMS pretty printers
#
+from __future__ import absolute_import
+
import re
-import helper
-import objects
+from . import helper
+from . import objects
-import supercore_printer
-import classic_printer
+from . import supercore_printer
+from . import classic_printer
pretty_printer = {
--
2.21.0 (Apple Git-122.2)
More information about the devel
mailing list