mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-07 08:46:21 +01:00
Updated for logging
This commit is contained in:
parent
da8b78bfb2
commit
3542fd8374
1 changed files with 5 additions and 0 deletions
|
@ -110,6 +110,11 @@ class CheckUpdates(Configs):
|
||||||
|
|
||||||
repo_size: int = int(repo.headers['Content-Length'])
|
repo_size: int = int(repo.headers['Content-Length'])
|
||||||
|
|
||||||
|
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}')
|
||||||
|
|
||||||
return local_size != repo_size
|
return local_size != repo_size
|
||||||
|
|
||||||
def view_message(self) -> None:
|
def view_message(self) -> None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue