[sles] Remove SP in SLES

This commit is contained in:
Nemo
2023-06-08 13:27:11 +05:30
parent 32e9e15d68
commit eb630320bd

View File

@@ -21,7 +21,8 @@ def convert_date(date_str):
def strip_version(version_str):
return version_str.strip("SUSE Linux Enterprise Server ").replace(' ', '.')
print(version_str)
return version_str.strip("SUSE Linux Enterprise Server ").replace(' SP', '.')
"""