We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5915ae9 + 96855f7 commit eef934aCopy full SHA for eef934a
sshpubkeys/keys.py
@@ -403,7 +403,7 @@ def _validate_application_string(self, application):
403
try:
404
parsed_url = urlparse(application)
405
except ValueError as err:
406
- raise InvalidKeyError(f"Application string: {err}") from err
+ raise InvalidKeyError("Application string: %s" % err) from err
407
if parsed_url.scheme != b"ssh":
408
raise InvalidKeyError('Application string must begin with "ssh:"')
409
0 commit comments