diff options
author | Sumanto Kar | 2024-09-13 01:06:21 +0530 |
---|---|---|
committer | GitHub | 2024-09-13 01:06:21 +0530 |
commit | 5865b5d9a2375971fe2ec1cbcc3e9344f138907d (patch) | |
tree | 5255b69fbc69c36c7af708522c46e0160aaa26c4 /src/projManagement | |
parent | 681978c7ce1aedee54b0ce6601b789edca226395 (diff) | |
parent | f958a620713414c072b3ed0aa4953d0329e1fedc (diff) | |
download | eSim-5865b5d9a2375971fe2ec1cbcc3e9344f138907d.tar.gz eSim-5865b5d9a2375971fe2ec1cbcc3e9344f138907d.tar.bz2 eSim-5865b5d9a2375971fe2ec1cbcc3e9344f138907d.zip |
Merge pull request #281 from avinashlalotra/master
Removed distutils dependency
Diffstat (limited to 'src/projManagement')
-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): """ |