changeset 15692:5ec52f033e58

mxtool: minor fix of optional field usage
author Bernhard Urban <bernhard.urban@jku.at>
date Thu, 15 May 2014 22:25:34 +0200
parents 6a13c422fca4
children e563b7668db5
files mxtool/mx.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Thu May 15 19:03:16 2014 +0200
+++ b/mxtool/mx.py	Thu May 15 22:25:34 2014 +0200
@@ -603,7 +603,7 @@
         if includedInJDK and java().javaCompliance >= JavaCompliance(includedInJDK):
             return None
 
-        return _download_file_with_sha1(self.name, path, self.urls, self.sha1, sha1path, resolve, self.optional)
+        return _download_file_with_sha1(self.name, path, self.urls, self.sha1, sha1path, resolve, not self.optional)
 
     def get_source_path(self, resolve):
         if self.sourcePath is None: