diff options
Diffstat (limited to 'src/projManagement/Validation.py')
-rw-r--r-- | src/projManagement/Validation.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/projManagement/Validation.py b/src/projManagement/Validation.py index 23a66416..5f239163 100644 --- a/src/projManagement/Validation.py +++ b/src/projManagement/Validation.py @@ -19,7 +19,7 @@ import os import re -import distutils.spawn +import shutil class Validation: @@ -170,7 +170,7 @@ class Validation: def validateTool(self, toolName): """This function check if tool is present in the system.""" - return distutils.spawn.find_executable(toolName) is not None + return shutil.which(toolName) is not None def validateSubcir(self, projDir, fileName): """ |