Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Fix TypeError: '>=' not supported between instances of 'str' and 'int' in msvs_emulation.py #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pylib/gyp/msvs_emulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def _TargetConfig(self, config):
# first level is globally for the configuration (this is what we consider
# "the" config at the gyp level, which will be something like 'Debug' or
# 'Release'), VS2015 and later only use this level
if self.vs_version.short_name >= 2015:
if self.vs_version.short_name >= '2015':
return config
# and a second target-specific configuration, which is an
# override for the global one. |config| is remapped here to take into
Expand Down