mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
packages/build: fix up incomplete f-strings
This commit is contained in:
parent
ec323ce8d7
commit
447046d24a
1 changed files with 2 additions and 2 deletions
|
@ -213,7 +213,7 @@ def add_file_to_repo(file_path: str, repo_name: str, arch: Arch, remove_original
|
|||
# clean up same name package from pacman cache
|
||||
cache_file = os.path.join(pacman_cache_dir, file_name)
|
||||
if os.path.exists(cache_file):
|
||||
logging.debug("Removing cached package file {cache_file}")
|
||||
logging.debug(f"Removing cached package file {cache_file}")
|
||||
remove_file(cache_file)
|
||||
cmd = [
|
||||
'repo-add',
|
||||
|
@ -485,7 +485,7 @@ def build_package(
|
|||
clean_chroot=clean_chroot,
|
||||
)
|
||||
if not package.mode:
|
||||
logging.warning('Package {package.path} has no _mode set, assuming "host"')
|
||||
logging.warning(f'Package {package.path} has no _mode set, assuming "host"')
|
||||
cross = foreign_arch and package.mode == 'cross' and enable_crosscompile
|
||||
|
||||
if cross:
|
||||
|
|
Loading…
Add table
Reference in a new issue