# HG changeset patch # User Doug Simon # Date 1395851785 -3600 # Node ID 141d570b397c963dedfad5828fc11f907e7d3b74 # Parent 3e9a960f0da1814f41a795c2d2b5460eb060fd47 fixed pylint errors diff -r 3e9a960f0da1 -r 141d570b397c mx/mx_graal.py --- a/mx/mx_graal.py Wed Mar 26 17:33:54 2014 +0100 +++ b/mx/mx_graal.py Wed Mar 26 17:36:25 2014 +0100 @@ -1695,7 +1695,7 @@ nonTestProjects = [p for p in mx.projects() if not p.name.endswith('.test') and not p.name.endswith('.jtt')] outputDirs = [p.output_dir() for p in nonTestProjects] findbugsResults = join(_graal_home, 'findbugs.results') - + cmd = ['-jar', findbugsJar, '-textui', '-low', '-maxRank', '15', '-exclude', join(_graal_home, 'graal', 'findbugsExcludeFilter.xml')] for s in mx.suites(): filt = join(s.dir, 'findbugsExcludeFilter.xml') @@ -1704,7 +1704,7 @@ cmd.append(filt) if sys.stdout.isatty(): cmd.append('-progress') - cmd = cmd + ['-auxclasspath', mx.classpath([p.name for p in nonTestProjects]), '-output', findbugsResults, '-progress', '-exitcode'] + args + outputDirs + cmd = cmd + ['-auxclasspath', mx.classpath([p.name for p in nonTestProjects]), '-output', findbugsResults, '-progress', '-exitcode'] + args + outputDirs exitcode = mx.run_java(cmd, nonZeroIsFatal=False) if exitcode != 0: with open(findbugsResults) as fp: