Mercurial > hg > truffle
changeset 13266:78ed696884b3
fixed regression in pylint command (exit code must be non-zero if at least one warning/error was found)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 09 Dec 2013 15:20:00 +0100 |
parents | 2d76d0c85345 |
children | 58d8de1f384b |
files | mxtool/mx.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mxtool/mx.py Mon Dec 09 13:44:10 2013 +0100 +++ b/mxtool/mx.py Mon Dec 09 15:20:00 2013 +0100 @@ -2251,7 +2251,7 @@ for pyfile in pyfiles: log('Running pylint on ' + pyfile + '...') - run(['pylint', '--reports=n', '--rcfile=' + rcfile, pyfile], env=env, nonZeroIsFatal=False) + run(['pylint', '--reports=n', '--rcfile=' + rcfile, pyfile], env=env) def archive(args): """create jar files for projects and distributions""" @@ -2841,14 +2841,14 @@ # Assume that any mx change might imply changes to the generated IDE files if timestamp.isOlderThan(__file__): return False - + eclipseSettingsDir = join(suite.mxDir, 'eclipse-settings') if exists(eclipseSettingsDir): for name in os.listdir(eclipseSettingsDir): path = join(eclipseSettingsDir, name) if timestamp.isOlderThan(path): return False - return True + return True def _eclipseinit_suite(args, suite, buildProcessorJars=True, refreshOnly=False): timestamp = TimeStampFile(join(suite.mxDir, 'eclipseinit.timestamp'))