Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
16724:300fffc06b55 | 16725:22b2950a0613 |
---|---|
653 | 653 |
654 includedInJDK = getattr(self, 'includedInJDK', None) | 654 includedInJDK = getattr(self, 'includedInJDK', None) |
655 if includedInJDK and java().javaCompliance >= JavaCompliance(includedInJDK): | 655 if includedInJDK and java().javaCompliance >= JavaCompliance(includedInJDK): |
656 return None | 656 return None |
657 | 657 |
658 bootClassPathAgent = self.bootClassPathAgent.lower() == 'true' if hasattr(self, 'bootClassPathAgent') else False | 658 bootClassPathAgent = getattr(self, 'bootClassPathAgent').lower() == 'true' if hasattr(self, 'bootClassPathAgent') else False |
659 | 659 |
660 return download_file_with_sha1(self.name, path, self.urls, self.sha1, sha1path, resolve, not self.optional, canSymlink=not bootClassPathAgent) | 660 return download_file_with_sha1(self.name, path, self.urls, self.sha1, sha1path, resolve, not self.optional, canSymlink=not bootClassPathAgent) |
661 | 661 |
662 def get_source_path(self, resolve): | 662 def get_source_path(self, resolve): |
663 if self.sourcePath is None: | 663 if self.sourcePath is None: |