comparison mxtool/mx.py @ 15147:d93cc1fdf55e

Fix Library.get_source_path (use sourcePath instead of path)
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 15 Apr 2014 13:27:32 +0200
parents 0672512feb81
children 7357f62ed977
comparison
equal deleted inserted replaced
15146:65efd2eeea1b 15147:d93cc1fdf55e
446 446
447 return _download_file_with_sha1(self.name, path, self.urls, self.sha1, sha1path, resolve, self.mustExist) 447 return _download_file_with_sha1(self.name, path, self.urls, self.sha1, sha1path, resolve, self.mustExist)
448 448
449 449
450 def get_source_path(self, resolve): 450 def get_source_path(self, resolve):
451 if self.path is None: 451 if self.sourcePath is None:
452 return None 452 return None
453 path = _make_absolute(self.path, self.suite.dir) 453 path = _make_absolute(self.sourcePath, self.suite.dir)
454 sha1path = path + '.sha1' 454 sha1path = path + '.sha1'
455 455
456 return _download_file_with_sha1(self.name, path, self.sourceUrls, self.sourceSha1, sha1path, resolve, len(self.sourceUrls) != 0, sources=True) 456 return _download_file_with_sha1(self.name, path, self.sourceUrls, self.sourceSha1, sha1path, resolve, len(self.sourceUrls) != 0, sources=True)
457 457
458 def append_to_classpath(self, cp, resolve): 458 def append_to_classpath(self, cp, resolve):