Skip to content

Commit bd6b8e0

Browse files
committed
fix: AttributeError when publishing OSI artifacts
A debug logging message was raising an AttributeError exception due to wrong usage of inexisting name attribute on list variable. This is fixed by this commit. Fix #107
1 parent 6f99c3f commit bd6b8e0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2525
OSI builds (#105).
2626
- Fix permission error on OSI artifacts produced by mkosi by faking sudo
2727
environment (#106).
28+
- Fix AttributeError in fatbuildrd when publishing OSI artifacts (#107).
2829

2930
## [2.0.0] - 2023-05-05
3031

fatbuildr/registry/formats/osi.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ def publish(self, build):
6868
for _path in RegistryOsi.CHECKSUMS_FILES
6969
]
7070
built_files.extend([_path for _path in build.subdir.glob('*.tar.*')])
71-
logger.debug("Found files: %s", ' '.join(built_files.name))
71+
logger.debug(
72+
"Found files: %s",
73+
' '.join([built_file.name for built_file in built_files]),
74+
)
7275

7376
for src in built_files:
7477
dst = derivative_path.joinpath(src.name)

0 commit comments

Comments
 (0)