[AddonManager] Removed two unnecessary import re..

..statementts
This commit is contained in:
Syres916
2020-05-02 13:51:22 +01:00
committed by Yorik van Havre
parent a05ae30a2a
commit 4ed00a1464

View File

@@ -303,7 +303,6 @@ class FillMacroListWorker(QtCore.QThread):
FreeCAD.Console.PrintWarning(translate('AddonsInstaller', 'GitPython not installed! Cannot retrieve macros from git, fallback to using the Wiki')+"\n")
if git:
git_exe = utils.checkGitBinary()
import re
try:
out = os.popen(git_exe + ' --version','r')
except:
@@ -663,7 +662,6 @@ class InstallWorker(QtCore.QThread):
import io
if git:
git_exe = utils.checkGitBinary()
import re
try:
out = os.popen(git_exe + ' --version','r')
except: