mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Updated for logging
This commit is contained in:
parent
75c6d5a911
commit
f958b9141d
1 changed files with 3 additions and 5 deletions
|
@ -55,10 +55,6 @@ class CheckUpdates(Configs):
|
||||||
else:
|
else:
|
||||||
self.sbo_repository()
|
self.sbo_repository()
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
|
||||||
logger.info('%s: %s: %s:', self.__class__.__name__,
|
|
||||||
self.__class__.check.__name__, self.compare)
|
|
||||||
|
|
||||||
return self.compare
|
return self.compare
|
||||||
|
|
||||||
def binary_repository(self, repo) -> None:
|
def binary_repository(self, repo) -> None:
|
||||||
|
@ -113,7 +109,9 @@ class CheckUpdates(Configs):
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
logger.info('%s: %s: %s:', self.__class__.__name__,
|
logger.info('%s: %s: %s:', self.__class__.__name__,
|
||||||
self.__class__.compare_dates.__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
|
return local_size != repo_size
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue