Updated for logging

This commit is contained in:
Dimitris Zlatanidis 2023-04-27 14:18:54 +03:00
parent 75c6d5a911
commit f958b9141d

View file

@ -55,10 +55,6 @@ class CheckUpdates(Configs):
else:
self.sbo_repository()
logger = logging.getLogger(__name__)
logger.info('%s: %s: %s:', self.__class__.__name__,
self.__class__.check.__name__, self.compare)
return self.compare
def binary_repository(self, repo) -> None:
@ -113,7 +109,9 @@ class CheckUpdates(Configs):
logger = logging.getLogger(__name__)
logger.info('%s: %s: %s:', self.__class__.__name__,
self.__class__.compare_dates.__name__,
f'{local_chg_txt}={local_size}, {repo_chg_txt}={repo_size}')
f'{local_chg_txt=}, {local_size=}, '
f'{repo_chg_txt=}, {repo_size=}, '
f'{local_size != repo_size=}')
return local_size != repo_size