master
Thomas Sileo 2019-04-18 00:51:17 +02:00
rodzic 4bd79c0ea9
commit 0575e7e688
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -68,7 +68,9 @@ def _get_public_key(key_id: str) -> Key:
# Ensure the right key was fetch
if key_id != actor["publicKey"]["id"]:
raise ValueError(f"failed to fetch requested key {key_id}: got {actor['publicKey']['id']}")
raise ValueError(
f"failed to fetch requested key {key_id}: got {actor['publicKey']['id']}"
)
return k