Updated for log messages

This commit is contained in:
Dimitris Zlatanidis 2023-04-28 09:38:33 +03:00
parent 6a1e050790
commit 17b6b7bc2d
2 changed files with 1 additions and 7 deletions

View file

@ -111,7 +111,7 @@ class CheckUpdates(Configs):
f'{self.__class__.compare_dates.__name__}: '
f'{local_chg_txt=}, {local_size=}, '
f'{repo_chg_txt=}, {repo_size=}, '
f'{local_size != repo_size=}')
f'{local_size != repo_size}')
return local_size != repo_size

View file

@ -67,12 +67,6 @@ class Upgrade(Configs):
repo_pkg: str = f'{name}-{repo_version}'
inst_pkg: str = f'{name}-{inst_version}'
logger = logging.getLogger(LoggingConfig.date)
logger.info(f'{self.__class__.__name__}: '
f'{self.__class__.is_package_upgradeable.__name__}: '
f'{repo_tag=}, {repo_pkg=}, {inst_pkg=}, {parse(repo_pkg) > parse(inst_pkg)}, '
f'{parse(repo_pkg) == parse(inst_pkg) and parse(repo_build) > parse(inst_build)}')
try:
if parse(repo_pkg) > parse(inst_pkg):
return True