PyLint fix

This commit is contained in:
Ivan Kravets
2016-12-02 20:50:03 +02:00
parent 822ba63486
commit f045e65331

View File

@ -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: