mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-05 11:02:14 +01:00
Updated for logging
This commit is contained in:
parent
1034f162c2
commit
10865d029a
1 changed files with 4 additions and 3 deletions
|
@ -82,9 +82,10 @@ class Upgrade(Configs):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
except InvalidVersion:
|
except InvalidVersion:
|
||||||
logger = logging.getLogger(__name__)
|
logger.exception('%s: %s: %s', self.__class__.__name__,
|
||||||
logger.exception('%s: %s', self.__class__.__name__,
|
self.__class__.is_package_upgradeable.__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=}')
|
||||||
|
|
||||||
if repo_pkg > inst_pkg:
|
if repo_pkg > inst_pkg:
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue