[PATCH v1 10/16] Py2/3 compliant tools/gdb/python/watchdog.py
Anmol mishra
anmol.j2020 at gmail.com
Wed Mar 18 12:19:20 UTC 2020
From: Anmol Mishra <anmol.j2020 at gmail.com>
---
tools/gdb/python/watchdog.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/tools/gdb/python/watchdog.py b/tools/gdb/python/watchdog.py
index 6a80421..b758e11 100644
--- a/tools/gdb/python/watchdog.py
+++ b/tools/gdb/python/watchdog.py
@@ -31,10 +31,13 @@
# RTEMS Watchdog Support
#
+from __future__ import print_function
+from __future__ import absolute_import
+
import gdb
-import chains
-import objects
+from . import chains
+from . import objects
class state:
--
2.21.0 (Apple Git-122.2)
More information about the devel
mailing list