commit | 4ab786dbecce48053cb8797d87f97737f0400d3e | [log] [tgz] |
---|---|---|
author | Gabe Black <gabe.black@gmail.com> | Mon Apr 20 07:03:40 2020 -0700 |
committer | Gabe Black <gabeblack@google.com> | Mon Apr 20 22:49:11 2020 +0000 |
tree | 25a3627849724af791f28079389e209b98211bcc | |
parent | 030532c3c199476a2e17979949c7a6a7e4931101 [diff] |
scons: Import "sys" which is used in an exception handler. If the call to "raw_input" fails (it does in python 3.x), then the "except" runs and will also fail because sys hasn't been imported. Change-Id: Ibf5778a893a5bd8aad17f4aee544ddcfe5085cab Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27947 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Maintainer: Gabe Black <gabeblack@google.com> Tested-by: kokoro <noreply+kokoro@google.com>