Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/core.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStephen Kennedy <Stephen.Kennedy@havok.com>2017-08-22 17:19:45 +0300
committerStephen Kennedy <Stephen.Kennedy@havok.com>2017-08-22 17:19:45 +0300
commit6b492ed8fbaa994bd3c9cf3f7ecd3ce3ccfb26a6 (patch)
treeb4a27983799545552a4b7c43029dd6eb1f3be3d6 /tools
parent98c30bc750b7a56e2f7b4dbfa87d9495a4ade50b (diff)
Fix AttributeError exception when comparing semantic versions.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/dotnet-bootstrap/dotnet.bootstrap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dotnet-bootstrap/dotnet.bootstrap.py b/tools/dotnet-bootstrap/dotnet.bootstrap.py
index 92749bc0..efbe77b6 100755
--- a/tools/dotnet-bootstrap/dotnet.bootstrap.py
+++ b/tools/dotnet-bootstrap/dotnet.bootstrap.py
@@ -234,9 +234,9 @@ class RoverSettings:
versionB = SemanticVersion(versionStrB)
if(versionA > versionB):
- return versionA
+ return versionStrA
- return versionB
+ return versionStrB
@staticmethod