mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
Updated to f string
This commit is contained in:
parent
e79bec17c0
commit
45ff5edf6c
1 changed files with 2 additions and 2 deletions
|
@ -286,8 +286,8 @@ class Slackbuilds(Configs):
|
|||
package: str = max(packages)
|
||||
except ValueError:
|
||||
logger = logging.getLogger(LoggingConfig.date)
|
||||
logger.exception('%s: %s:', self.__class__.__name__,
|
||||
self.__class__.package_for_install.__name__)
|
||||
logger.exception(f'{self.__class__.__name__}: '
|
||||
f'{self.__class__.package_for_install.__name__}')
|
||||
self.errors.raise_error_message(f"Package '{name}' not found for install", exit_status=20)
|
||||
|
||||
return package
|
||||
|
|
Loading…
Reference in a new issue