Skip to content

Commit 96855f7

Browse files
committed
Remove use of f-string
1 parent 5915ae9 commit 96855f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sshpubkeys/keys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ def _validate_application_string(self, application):
403403
try:
404404
parsed_url = urlparse(application)
405405
except ValueError as err:
406-
raise InvalidKeyError(f"Application string: {err}") from err
406+
raise InvalidKeyError("Application string: %s" % err) from err
407407
if parsed_url.scheme != b"ssh":
408408
raise InvalidKeyError('Application string must begin with "ssh:"')
409409

0 commit comments

Comments
 (0)