# HG changeset patch # User Andreas Woess # Date 1430430922 -7200 # Node ID 41ec6d89cb84be02d3b6bc1c7d2ff1826f7ed5fc # Parent 8407957b067b3d37b8ed7c419f179ab12ce2f898 mx: fix calls to is_interactive() diff -r 8407957b067b -r 41ec6d89cb84 mx/mx_graal.py --- 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([])