From 4f16a4e65a35d8c5f48a4baa2c949d04bf4c9405 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Tue, 10 Mar 2020 15:26:26 +0000 Subject: [PATCH] configs: remove exec of Options.py from ruby_mem_test.py The removed exec statement does not appear to be needed however, since Options is already imported above with: from common import Options Change-Id: I934a65d21fa5099a786224a5476d609e4d707205 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26803 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- configs/example/ruby_mem_test.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/configs/example/ruby_mem_test.py b/configs/example/ruby_mem_test.py index 070cb37e8..5325c5028 100644 --- a/configs/example/ruby_mem_test.py +++ b/configs/example/ruby_mem_test.py @@ -63,10 +63,6 @@ parser.add_option("--suppress-func-warnings", action="store_true", # Ruby.define_options(parser) -exec(compile( \ - open(os.path.join(config_root, "common", "Options.py")).read(), \ - os.path.join(config_root, "common", "Options.py"), 'exec')) - (options, args) = parser.parse_args() # -- 2.30.2