diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2019-12-03 16:55:53 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2019-12-03 16:55:53 -0500 |
commit | 8fd7385f2338036d2289ebfae43ddfa8f0b9c446 (patch) | |
tree | 3c60cb2b5ba8860ded812b0ec02721f9778b0c5d | |
parent | 109b14c6510d85df935a546a5fe32f1f069cc2b2 (diff) |
Comment a particularly egregious example of message passing
-rw-r--r-- | paramiko/pkey.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/paramiko/pkey.py b/paramiko/pkey.py index 0dbe97fc..ef1dac18 100644 --- a/paramiko/pkey.py +++ b/paramiko/pkey.py @@ -515,6 +515,9 @@ class PKey(object): arr.append(s) break except Exception as e: + # PKey-consuming code frequently wants to save-and-skip-over issues + # with loading keys, and uses SSHException as the (really friggin + # awful) signal for this. So for now...we do this. raise SSHException(str(e)) return tuple(arr) |