changeset 21642:57912478d94d

fixed pylint issue
author Doug Simon <doug.simon@oracle.com>
date Mon, 01 Jun 2015 18:13:48 +0200
parents 678303c93e69
children 2081f8f294fe
files mx/mx_graal.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mx/mx_graal.py	Mon Jun 01 18:04:52 2015 +0200
+++ b/mx/mx_graal.py	Mon Jun 01 18:13:48 2015 +0200
@@ -126,7 +126,7 @@
     if vm and 'graal' in vm:
         if exists(envPath):
             with open(envPath) as fp:
-                if ('DEFAULT_VM=' + vm) in fp.read():
+                if 'DEFAULT_VM=' + vm in fp.read():
                     mx.log('Please update the DEFAULT_VM value in ' + envPath + ' to replace "graal" with "jvmci"')
         vm = vm.replace('graal', 'jvmci')
     if vm is None: