Skip to content

Commit

Permalink
Fix AttributeError exception when comparing semantic versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenatwork committed Aug 22, 2017
1 parent 98c30bc commit 6b492ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/dotnet-bootstrap/dotnet.bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ def MaxPrecedence(versionStrA, versionStrB):
versionB = SemanticVersion(versionStrB)

if(versionA > versionB):
return versionA
return versionStrA

return versionB
return versionStrB


@staticmethod
Expand Down

0 comments on commit 6b492ed

Please sign in to comment.