}
external_submodules = {
'ThirdParty/IceT/vtkicet': 'https://gitlab.kitware.com/icet/icet.git',
- 'ThirdParty/QtTesting/vtkqttesting': 'https://github.com/Kitware/QtTesting.git',
+ 'ThirdParty/QtTesting/vtkqttesting': 'https://gitlab.kitware.com/paraview/qttesting.git',
'ThirdParty/protobuf/vtkprotobuf': 'https://gitlab.kitware.com/paraview/protobuf.git',
'Utilities/VisItBridge': 'https://gitlab.kitware.com/paraview/visitbridge.git',
'VTK': 'https://gitlab.kitware.com/vtk/vtk.git',
p=subprocess.Popen(["git","checkout",gitLoc[1]],cwd=dirGitLoc)
p_out,p_err=p.communicate()
if p.returncode != 0:
- msg = "Error in checkout\n" + p_err
+ msg = "Error in checkout\n"
+ if p_err: msg += p_err
raise Exception(msg)
# Init and Update submodules
p=subprocess.Popen(["git","submodule","update","--init","--recursive"],cwd=dirGitLoc)
p.communicate()
if p.returncode != 0:
- msg = "Error in submodule update\n" + p_err
+ msg = "Error in submodule update\n"
+ if p_err: msg += p_err
raise Exception(msg)
p=subprocess.Popen(["git","checkout","--",".gitmodules"],cwd=dirGitLoc)
p.communicate()
if p.returncode != 0:
- msg = "Error in submodule update\n" + p_err
+ msg = "Error in submodule update\n"
+ if p_err: msg += p_err
raise Exception(msg)
return ret