Skip to content

Commit

Permalink
Merge pull request #6091 from Yingshun/fix_ipxe_err
Browse files Browse the repository at this point in the history
sriov: Fix error format issue
  • Loading branch information
chloerh authored Jan 7, 2025
2 parents bec99d8 + a8e7bd8 commit 8931197
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provider/sriov/sriov_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ def get_rom_file(self):
if not os.path.exists(rom_file):
virtio_rom_file = "/usr/share/ipxe/1af41000.rom"
if not os.path.exists(virtio_rom_file):
self.test.error(f"This test needs a rom file, but neither {rom_file}"
"nor {virtio_rom_file} exist!")
self.test.error(f"This test needs a rom file, but neither {rom_file} "
f"nor {virtio_rom_file} exist!")
return virtio_rom_file
return rom_file

Expand Down

0 comments on commit 8931197

Please sign in to comment.