[AddonManager] Removed two unnecessary import re..
..statementts
This commit is contained in:
committed by
Yorik van Havre
parent
a05ae30a2a
commit
4ed00a1464
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user