Mercurial > hg > truffle
diff mxtool/mx.py @ 16725:22b2950a0613
workaround for buggy pylint warning
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 08 Aug 2014 12:37:25 +0200 |
parents | ad19df13df14 |
children | 7eca83fd5419 |
line wrap: on
line diff
--- a/mxtool/mx.py Fri Aug 08 12:33:38 2014 +0200 +++ b/mxtool/mx.py Fri Aug 08 12:37:25 2014 +0200 @@ -655,7 +655,7 @@ if includedInJDK and java().javaCompliance >= JavaCompliance(includedInJDK): return None - bootClassPathAgent = self.bootClassPathAgent.lower() == 'true' if hasattr(self, 'bootClassPathAgent') else False + bootClassPathAgent = getattr(self, 'bootClassPathAgent').lower() == 'true' if hasattr(self, 'bootClassPathAgent') else False return download_file_with_sha1(self.name, path, self.urls, self.sha1, sha1path, resolve, not self.optional, canSymlink=not bootClassPathAgent)