Simplify logic: pythonVersion already defaults to ""

This commit is contained in:
rallytime 2017-08-08 10:37:30 -04:00
parent e27dd0a167
commit 12c0468e52

View file

@ -232,10 +232,7 @@ If (!$version) {
}
$year = $version.Substring(0, 3)
If ([int]$year -lt 2017) {
$pythonVersion = ""
}
Else {
If ([int]$year -ge 2017) {
If ($pythonVersion -eq "3") {
$pythonVersion = "-Py3"
}