Updated for format

This commit is contained in:
Dimitris Zlatanidis 2023-04-27 22:42:14 +03:00
parent f196af56c9
commit 4bacf23a3c

View file

@ -70,8 +70,8 @@ class Upgrade(Configs):
logger = logging.getLogger(LoggingConfig.date) logger = logging.getLogger(LoggingConfig.date)
logger.info('%s: %s: %s', self.__class__.__name__, logger.info('%s: %s: %s', self.__class__.__name__,
self.__class__.is_package_upgradeable.__name__, self.__class__.is_package_upgradeable.__name__,
f'{repo_tag=}, {repo_pkg=}, {inst_pkg=}, {parse(repo_pkg) > parse(inst_pkg)=}, ' 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'{parse(repo_pkg) == parse(inst_pkg) and parse(repo_build) > parse(inst_build)}')
try: try:
if parse(repo_pkg) > parse(inst_pkg): if parse(repo_pkg) > parse(inst_pkg):
@ -85,8 +85,8 @@ class Upgrade(Configs):
logger = logging.getLogger(LoggingConfig.date) logger = logging.getLogger(LoggingConfig.date)
logger.exception('%s: %s: %s', self.__class__.__name__, logger.exception('%s: %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_tag=}, {repo_pkg=}, {inst_pkg=}, {repo_pkg > inst_pkg}, '
f'{repo_pkg == inst_pkg and repo_build > inst_build=}') f'{repo_pkg == inst_pkg and repo_build > inst_build}')
if repo_pkg > inst_pkg: if repo_pkg > inst_pkg:
return True return True