changeset 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 65efd2eeea1b
children 7357f62ed977
files mxtool/mx.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Mon Apr 14 16:31:13 2014 +0200
+++ b/mxtool/mx.py	Tue Apr 15 13:27:32 2014 +0200
@@ -448,9 +448,9 @@
 
 
     def get_source_path(self, resolve):
-        if self.path is None:
+        if self.sourcePath is None:
             return None
-        path = _make_absolute(self.path, self.suite.dir)
+        path = _make_absolute(self.sourcePath, self.suite.dir)
         sha1path = path + '.sha1'
 
         return _download_file_with_sha1(self.name, path, self.sourceUrls, self.sourceSha1, sha1path, resolve, len(self.sourceUrls) != 0, sources=True)