From: Adrian Herrera Date: Thu, 28 Nov 2019 17:04:34 +0000 (+0000) Subject: python: fix "fatal" usage in fdthelper X-Git-Tag: v19.0.0.0~171 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a2dcccaee4c76a73378b4fd5ac910a818fff7af;p=gem5.git 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 --- 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."""