diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/python/m5/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/m5/__init__.py b/src/python/m5/__init__.py index 5bd9bf22c..4f29c55e8 100644 --- a/src/python/m5/__init__.py +++ b/src/python/m5/__init__.py @@ -160,7 +160,7 @@ while args_left: elif optchar == 'I': AddToPath(args_left.pop(0)) elif optchar == 'P': - eval(args_left.pop(0)) + exec args_left.pop(0) else: showBriefHelp(sys.stderr) panic("invalid argument '%s'\n" % arg_str) |