build: fix error syntax

pull/12982/head
Martin Kojtal 2020-05-16 10:12:06 +02:00
parent caf58a7a44
commit 6e59bdd64d
1 changed files with 1 additions and 1 deletions

View File

@ -416,7 +416,7 @@ def get_mbed_official_release(version):
# release version is deprecated and all targets are being supported that are present
# in targets.json file
if version == `2`:
if version == '2':
raise InvalidReleaseTargetException("Mbed 2 is no longer supported with this version of the tools")
mbed_official_release = (