Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

fix error message #650

Merged
merged 1 commit into from
Sep 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion doozerlib/olm/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def get_operator_buildinfo(self, nvr=None):
if not self.operator_dict or self.operator_dict["nvr"] != self.operator_nvr:
self.operator_dict = brew.get_build_objects([self.operator_nvr], self.brew_session)[0]
if not self.operator_dict:
raise IOError("Build {self.operator_nvr} doesn't exist in Brew.")
raise IOError(f"Build {self.operator_nvr} doesn't exist in Brew.")

source_url = urlparse(self.operator_dict['source'])
self.operator_repo_name = source_url.path.strip('/')
Expand Down