Skip to content

Commit eef934a

Browse files
authored
Merge pull request #82 from jcolgan-r7/master
Remove use of f-string
2 parents 5915ae9 + 96855f7 commit eef934a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)