mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-19 10:27:07 +01:00
Updated for format
This commit is contained in:
parent
f196af56c9
commit
4bacf23a3c
1 changed files with 4 additions and 4 deletions
|
@ -70,8 +70,8 @@ class Upgrade(Configs):
|
|||
logger = logging.getLogger(LoggingConfig.date)
|
||||
logger.info('%s: %s: %s', self.__class__.__name__,
|
||||
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)=}')
|
||||
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):
|
||||
|
@ -85,8 +85,8 @@ class Upgrade(Configs):
|
|||
logger = logging.getLogger(LoggingConfig.date)
|
||||
logger.exception('%s: %s: %s', self.__class__.__name__,
|
||||
self.__class__.is_package_upgradeable.__name__,
|
||||
f'{repo_tag=}, {repo_pkg=}, {inst_pkg=}, {repo_pkg > inst_pkg=}, '
|
||||
f'{repo_pkg == inst_pkg and repo_build > inst_build=}')
|
||||
f'{repo_tag=}, {repo_pkg=}, {inst_pkg=}, {repo_pkg > inst_pkg}, '
|
||||
f'{repo_pkg == inst_pkg and repo_build > inst_build}')
|
||||
|
||||
if repo_pkg > inst_pkg:
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue