pyupgrade fixes

This commit is contained in:
Erik Sundell
2021-10-31 11:26:40 +01:00
parent b0375627e3
commit c2c4d708f5
9 changed files with 12 additions and 12 deletions

View File

@@ -69,7 +69,7 @@ def ensure_traefik_binary(prefix):
# verify that we got what we expected
checksum = checksum_file(traefik_bin)
if checksum != checksums[plat]:
raise IOError(f"Checksum failed {traefik_bin}: {checksum} != {checksums[plat]}")
raise OSError(f"Checksum failed {traefik_bin}: {checksum} != {checksums[plat]}")
def compute_basic_auth(username, password):