diff options
author | Abinash Singh | 2024-09-07 22:33:02 +0530 |
---|---|---|
committer | GitHub | 2024-09-07 22:33:02 +0530 |
commit | f958a620713414c072b3ed0aa4953d0329e1fedc (patch) | |
tree | 2b37b260e196d9c2ace2b258505a44101acc575f /src | |
parent | 7bc70caee91be4bc9d9a5c9de60f0260a1f968ae (diff) | |
download | eSim-f958a620713414c072b3ed0aa4953d0329e1fedc.tar.gz eSim-f958a620713414c072b3ed0aa4953d0329e1fedc.tar.bz2 eSim-f958a620713414c072b3ed0aa4953d0329e1fedc.zip |
Removed distutils dependency
shutil can be used in place of distutils .
Diffstat (limited to 'src')
-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): """ |