# HG changeset patch # User Doug Simon # Date 1407494245 -7200 # Node ID 22b2950a061328cdf9e977c5a5f3649e9e2f7321 # Parent 300fffc06b554ae0817652a0049e6d4d0b140009 workaround for buggy pylint warning diff -r 300fffc06b55 -r 22b2950a0613 mxtool/mx.py --- 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)