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

Commit

Permalink
fix error message (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ximinhan authored Sep 23, 2022
1 parent bc9aa3f commit 545ce87
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 545ce87

Please sign in to comment.