Merge branch 'master' into 2.0

This commit is contained in:
Julien Duponchelle committed 2016-08-29 14:08:23 +02:00
commit 72fe5d3489
14 files changed
+314 -30

No files matched your search

+5 -3
View File
@@ -233,9 +233,11 @@ class IOUVM(BaseNode):
:returns: path to IOUYAP
"""
path = self._config().get("iouyap_path", "iouyap")
if path == "iouyap":
path = shutil.which("iouyap")
search_path = self._config().get("iouyap_path", "iouyap")
path = shutil.which(search_path)
# shutil.which return None if the path doesn't exists
if not path:
return search_path
return path
@property