# HG changeset patch # User Doug Simon # Date 1386598800 -3600 # Node ID 78ed696884b3cc601f005ca4ddd4eb1ca0299e8a # Parent 2d76d0c8534589b2934b9fefe5b27ff1f2b55d7d fixed regression in pylint command (exit code must be non-zero if at least one warning/error was found) diff -r 2d76d0c85345 -r 78ed696884b3 mxtool/mx.py --- 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'))