Skip to content

Commit

Permalink
Merge pull request #82 from jcolgan-r7/master
Browse files Browse the repository at this point in the history
Remove use of f-string
  • Loading branch information
ojarva authored Feb 4, 2021
2 parents 5915ae9 + 96855f7 commit eef934a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sshpubkeys/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def _validate_application_string(self, application):
try:
parsed_url = urlparse(application)
except ValueError as err:
raise InvalidKeyError(f"Application string: {err}") from err
raise InvalidKeyError("Application string: %s" % err) from err
if parsed_url.scheme != b"ssh":
raise InvalidKeyError('Application string must begin with "ssh:"')

Expand Down

0 comments on commit eef934a

Please sign in to comment.