Skip to content

Commit

Permalink
small style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stefantalpalaru committed Sep 3, 2019
1 parent 270ab74 commit d096a7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Lib/distutils/msvc9compiler.py
Expand Up @@ -185,7 +185,8 @@ def get_build_version():
minorVersion = int(s[2:3]) / 10.0

# There is no majorVersion of 13 (VS2013 == 1800, and VS2015 == 1900)
if majorVersion == 13: majorVersion = 14
if majorVersion == 13:
majorVersion = 14

# I don't think paths are affected by minor version in version 6
if majorVersion == 6:
Expand Down
3 changes: 2 additions & 1 deletion Lib/distutils/msvccompiler.py
Expand Up @@ -167,7 +167,8 @@ def get_build_version():
minorVersion = int(s[2:3]) / 10.0

# There is no majorVersion of 13 (VS2013 == 1800, and VS2015 == 1900)
if majorVersion == 13: majorVersion = 14
if majorVersion == 13:
majorVersion = 14

# I don't think paths are affected by minor version in version 6
if majorVersion == 6:
Expand Down

0 comments on commit d096a7a

Please sign in to comment.