python: fix another bug from changes to main.py
This commit is contained in:
parent
99fbd18ea5
commit
09064ea552
|
@ -155,7 +155,7 @@ class Benchmark(object):
|
||||||
cwd = process_args.get('cwd')
|
cwd = process_args.get('cwd')
|
||||||
|
|
||||||
if not cwd:
|
if not cwd:
|
||||||
from m5.main import options
|
from m5 import options
|
||||||
cwd = options.outdir
|
cwd = options.outdir
|
||||||
process_args['cwd'] = cwd
|
process_args['cwd'] = cwd
|
||||||
if not isdir(cwd):
|
if not isdir(cwd):
|
||||||
|
|
Loading…
Reference in a new issue