Mercurial > hg > truffle
changeset 5431:0bd1ba69db2a
removed double declaration of _vmbuild global variable in gate command
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 23 May 2012 12:11:27 +0200 |
parents | 27536e9982fa |
children | 50598118cd0a |
files | mx/commands.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mx/commands.py Wed May 23 12:06:44 2012 +0200 +++ b/mx/commands.py Wed May 23 12:11:27 2012 +0200 @@ -736,6 +736,10 @@ args = parser.parse_args(args) + global _vmbuild + global _vm + global _jacoco + tasks = [] total = Task('Gate') try: @@ -752,9 +756,7 @@ t = Task('BuildJava') build(['--no-native']) tasks.append(t.stop()) - global _jacoco for vmbuild in ['fastdebug', 'product']: - global _vmbuild _vmbuild = vmbuild if args.buildNative: @@ -818,10 +820,8 @@ tasks.append(t.stop()) for vmbuild in ['product', 'fastdebug']: - global _vmbuild _vmbuild = vmbuild for theVm in ['client', 'server']: - global _vm _vm = theVm # TODO: remove once regression in fastdebug-server has been fixed if vmbuild == 'fastdebug' and theVm == 'server':