Skip to content

Commit

Permalink
[AddonManager] Backu=out CheckGitBinary fn
Browse files Browse the repository at this point in the history
  • Loading branch information
Syres916 authored and yorikvanhavre committed May 8, 2020
1 parent d5983ff commit a6ea85a
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/Mod/AddonManager/addonmanager_utilities.py
Expand Up @@ -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

0 comments on commit a6ea85a

Please sign in to comment.