Mercurial > hg > truffle
changeset 21169:41ec6d89cb84
mx: fix calls to is_interactive()
author | Andreas Woess <andreas.woess@oracle.com> |
---|---|
date | Thu, 30 Apr 2015 23:55:22 +0200 |
parents | 8407957b067b |
children | 422f913e9310 |
files | mx/mx_graal.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mx/mx_graal.py Fri May 01 21:32:02 2015 +0200 +++ b/mx/mx_graal.py Thu Apr 30 23:55:22 2015 +0200 @@ -118,7 +118,7 @@ return _vm vm = mx.get_env('DEFAULT_VM') if vm is None: - if not mx.is_interactive()(): + if not mx.is_interactive(): mx.abort('Need to specify VM with --vm option or DEFAULT_VM environment variable') envPath = join(_graal_home, 'mx', 'env') mx.log('Please select the VM to be executed from the following: ') @@ -392,7 +392,7 @@ if not vm: vm = _get_vm() mx.log('The ' + bld + ' ' + vm + ' VM has not been created') - if mx.is_interactive()(): + if mx.is_interactive(): if mx.ask_yes_no('Build it now', 'y'): with VM(vm, bld): build([])