# HG changeset patch # User Doug Simon # Date 1337767887 -7200 # Node ID 0bd1ba69db2a7c2d759e0df04fee3bf33a5f670c # Parent 27536e9982fa6d58f1386c7376ec14f74b907700 removed double declaration of _vmbuild global variable in gate command diff -r 27536e9982fa -r 0bd1ba69db2a mx/commands.py --- 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':