mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
PyLint fix
This commit is contained in:
@ -158,7 +158,7 @@ def platform_show(platform):
|
|||||||
def _detail_version(version):
|
def _detail_version(version):
|
||||||
if version.count(".") != 2:
|
if version.count(".") != 2:
|
||||||
return version
|
return version
|
||||||
x, y, z = version.split(".")
|
_, y = version.split(".")[:2]
|
||||||
if int(y) < 100:
|
if int(y) < 100:
|
||||||
return version
|
return version
|
||||||
if len(y) % 2 != 0:
|
if len(y) % 2 != 0:
|
||||||
|
Reference in New Issue
Block a user