Updated for parse version

This commit is contained in:
Dimitris Zlatanidis 2023-04-02 22:20:17 +03:00
parent f6a045dda4
commit 546f33c200
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
4.7.2 - 02/04/2023
Updated:
- Packaging parse versions
4.7.1 - 02/04/2023
Fixed:
- TypeError: can only concatenate str (not "NoneType") to str

View file

@ -55,4 +55,4 @@ class Upgrade(Configs):
repo_version: str = SBoQueries(name).version()
repo_build: str = self.utils.read_sbo_build_tag(name)
return parse(repo_version + repo_build) > parse(inst_version + inst_build)
return parse(f'{repo_version}{repo_build}') > parse(f'{inst_version}{inst_build}')