From 1a2dcccaee4c76a73378b4fd5ac910a818fff7af Mon Sep 17 00:00:00 2001 From: Adrian Herrera Date: Thu, 28 Nov 2019 17:04:34 +0000 Subject: [PATCH] python: fix "fatal" usage in fdthelper "fatal" was not correctly imported in the fdthelper module, which caused a crash when reporting errors. Change-Id: I7ee9dcde1f0288e11e56dba67ead4aa2d6d67e02 Reviewed-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23753 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- src/python/m5/util/fdthelper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/python/m5/util/fdthelper.py b/src/python/m5/util/fdthelper.py index 27d6f844c..7ad3aba13 100644 --- a/src/python/m5/util/fdthelper.py +++ b/src/python/m5/util/fdthelper.py @@ -43,6 +43,7 @@ from m5.ext.pyfdt import pyfdt import re import os from m5.SimObject import SimObject +from m5.util import fatal class FdtProperty(pyfdt.FdtProperty): """Create a property without values.""" -- 2.30.2