Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/35280 )
Change subject: arch: Minor cleanup of imports in isa_parser.py.
......................................................................
arch: Minor cleanup of imports in isa_parser.py.
The with statement and print function are no longer in the future, and
the "inspect" module is not used. Also alphabetize the imports.
Change-Id: I35f2b7b0f7495cb9ca79d2cbe05f020560ec3593
---
M src/arch/isa_parser/isa_parser.py
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/arch/isa_parser/isa_parser.py
b/src/arch/isa_parser/isa_parser.py
index 2461e29..99bf5aa 100755
--- a/src/arch/isa_parser/isa_parser.py
+++ b/src/arch/isa_parser/isa_parser.py
@@ -37,11 +37,10 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-from __future__ import with_statement, print_function
import os
-import sys
import re
-import inspect, traceback
+import sys
+import traceback
# get type names
from types import *
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/35280
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I35f2b7b0f7495cb9ca79d2cbe05f020560ec3593
Gerrit-Change-Number: 35280
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s