Updated for compare versions

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2024-05-11 17:06:41 +03:00
parent c2cdf84c43
commit d2c1220364

View file

@ -124,7 +124,6 @@ class Upgrade(Configs): # pylint: disable=[R0902]
return True return True
except InvalidVersion as err: except InvalidVersion as err:
self._write_log_file(installed, inst_name, err) self._write_log_file(installed, inst_name, err)
# Different options to compare packages. # Different options to compare packages.
repo_package: str = self.data[inst_name]['package'] repo_package: str = self.data[inst_name]['package']
if repo_version > inst_version: # Try to compare the strings. if repo_version > inst_version: # Try to compare the strings.