[AddonManager] Backu=out CheckGitBinary fn

This commit is contained in:
Syres916
2020-05-07 12:01:02 +01:00
committed by Yorik van Havre
parent d9825cb8f9
commit 7b2d445dc2

View File

@@ -314,16 +314,3 @@ def getRepoUrl(text):
return "https://framagit.org/freecad-france/mooc-workbench"
print("Debug: addonmanager_utilities.getRepoUrl: Unkable to find repo:",text)
return None
def checkGitBinary():
"Checks if Git binary is available"
import platform
import distutils.spawn
if platform.system() == 'Windows':
git_exe = distutils.spawn.find_executable("git.exe")
else: #Linux or Mac
git_exe = 'git'
return git_exe