diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2023-01-12 21:46:09 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2023-01-12 21:46:09 -0500 |
commit | a198ebd56c5eafd573e98f912bcf8aeec0c7e7d9 (patch) | |
tree | 74bbaae9ad090b5a63641d9737d6a5b4a401b7b5 | |
parent | d04966dcec2f8e34f0ec0aea216ea098673ae90b (diff) |
Can't actually use a set here as it will destroy ordering
-rw-r--r-- | paramiko/hostkeys.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/paramiko/hostkeys.py b/paramiko/hostkeys.py index bd962287..b189aac6 100644 --- a/paramiko/hostkeys.py +++ b/paramiko/hostkeys.py @@ -270,7 +270,6 @@ class HostKeys(MutableMapping): self._entries.append(HostKeyEntry([hostname], entry[key_type])) def keys(self): - # Python 2.4 sets would be nice here. ret = [] for e in self._entries: for h in e.hostnames: |