mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Updated for log messages
This commit is contained in:
parent
6a1e050790
commit
17b6b7bc2d
2 changed files with 1 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue