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