python: fix another bug from changes to main.py

This commit is contained in:
Nathan Binkert 2011-04-20 19:07:44 -07:00
parent 99fbd18ea5
commit 09064ea552

View file

@ -155,7 +155,7 @@ class Benchmark(object):
cwd = process_args.get('cwd')
if not cwd:
from m5.main import options
from m5 import options
cwd = options.outdir
process_args['cwd'] = cwd
if not isdir(cwd):