From 2bad848b85f3463edca652e0f73cc64c57961fbb Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Fri, 25 Jan 2019 11:46:30 +0000 Subject: python: Enforce absolute imports for Python 3 compatibility Change-Id: Ia88d7fd472f7aed9b97df81468211384981bf6c6 Signed-off-by: Andreas Sandberg Reviewed-on: https://gem5-review.googlesource.com/c/15983 Reviewed-by: Gabe Black Maintainer: Gabe Black --- src/python/m5/util/sorteddict.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/python/m5/util/sorteddict.py') diff --git a/src/python/m5/util/sorteddict.py b/src/python/m5/util/sorteddict.py index 28c9c601d..25d6d3986 100644 --- a/src/python/m5/util/sorteddict.py +++ b/src/python/m5/util/sorteddict.py @@ -25,6 +25,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. from __future__ import print_function +from __future__ import absolute_import from bisect import bisect_left, bisect_right -- cgit v1.2.3