python: Fix toBool converter
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 19 Nov 2020 11:32:02 +0000 (11:32 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 20 Nov 2020 11:24:12 +0000 (11:24 +0000)
commit692128dd324e7dbdef9de39361232b104e6b581d
tree87782bc55e560719e685d08ecfe75ea5e9f8e223
parente175be98fb7ea741b4026dad91c2aa2e08884a83
python: Fix toBool converter

It was using an undefined variable (result) which was mistakenly left
there after its latest refactor

Change-Id: I50bb9b1e7793045556a29306faea5f455b29819d
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/37755
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/python/m5/util/convert.py