зеркало из https://github.com/microsoft/PTVS.git
fix telemetry versioning issue (#8041)
This commit is contained in:
Родитель
970eec25d7
Коммит
5444aa7956
|
@ -1 +1 @@
|
|||
1.8.6
|
||||
1.8.7
|
|
@ -188,9 +188,6 @@ namespace Microsoft.PythonTools.Interpreter {
|
|||
return null; // Python 2.x is no longer supported.
|
||||
}
|
||||
|
||||
if (sysVersion.ToLanguageVersion() == PythonLanguageVersion.None) {
|
||||
sysVersion = new Version(0, 0);
|
||||
}
|
||||
|
||||
if (!InterpreterArchitecture.TryParse(tagKey.GetValue("SysArchitecture", null) as string, out var arch)) {
|
||||
arch = assumedArch;
|
||||
|
|
|
@ -316,9 +316,6 @@ namespace Microsoft.PythonTools.Interpreter {
|
|||
var arch = CPythonInterpreterFactoryProvider.ArchitectureFromExe(interpreterPath);
|
||||
var version = CPythonInterpreterFactoryProvider.VersionFromSysVersionInfo(interpreterPath);
|
||||
|
||||
if (version.ToLanguageVersion() == PythonLanguageVersion.None) {
|
||||
version = new Version(0, 0);
|
||||
}
|
||||
|
||||
var name = Path.GetFileName(prefixPath);
|
||||
var description = name;
|
||||
|
|
Загрузка…
Ссылка в новой задаче