comparison mx/mx_graal.py @ 14164:10e07aaeb54f

fixed pylint warning
author Doug Simon <doug.simon@oracle.com>
date Wed, 12 Mar 2014 21:55:09 +0100
parents f14fb79ab265
children 942c4daa9db9 e754ac1331ef
comparison
equal deleted inserted replaced
14163:7831c74266a7 14164:10e07aaeb54f
715 def _parseVmArgs(args, vm=None, cwd=None, vmbuild=None): 715 def _parseVmArgs(args, vm=None, cwd=None, vmbuild=None):
716 """run the VM selected by the '--vm' option""" 716 """run the VM selected by the '--vm' option"""
717 717
718 if vm is None: 718 if vm is None:
719 vm = _get_vm() 719 vm = _get_vm()
720 720
721 if 'client' in vm and len(platform.mac_ver()[0]) != 0: 721 if 'client' in vm and len(platform.mac_ver()[0]) != 0:
722 mx.abort("Client VM not supported: java launcher on Mac OS X translates '-client' to '-server'") 722 mx.abort("Client VM not supported: java launcher on Mac OS X translates '-client' to '-server'")
723 723
724 if cwd is None: 724 if cwd is None:
725 cwd = _vm_cwd 725 cwd = _vm_cwd