1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-07 17:17:41 +03:00

Revert "M #-: Allow 4 level version in PyONE (#4832)" (#4843)

This reverts commit 472861ed7d.
This commit is contained in:
Ruben S. Montero 2020-05-29 16:38:38 +02:00 committed by GitHub
parent 472861ed7d
commit 0423430491
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,11 +43,10 @@ if sys.version_info[0] < 3:
version = '5.11.90'
# mark pre-release
v1, v2 = version.split('.')[1:3]
if v1 >= 90 or v2 >= 90:
ver_min = int(version.split('.')[-1])
if ver_min >= 90:
pyone_version = version + 'rc1'
elif v1 >= 80 or v2 >= 80:
elif ver_min >= 80:
pyone_version = version + 'b1'
else:
pyone_version = version