summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-01-12 21:46:09 -0500
committerJeff Forcier <jeff@bitprophet.org>2023-01-12 21:46:09 -0500
commita198ebd56c5eafd573e98f912bcf8aeec0c7e7d9 (patch)
tree74bbaae9ad090b5a63641d9737d6a5b4a401b7b5
parentd04966dcec2f8e34f0ec0aea216ea098673ae90b (diff)
downloadparamiko-a198ebd56c5eafd573e98f912bcf8aeec0c7e7d9.tar.gz
Can't actually use a set here as it will destroy ordering
-rw-r--r--paramiko/hostkeys.py1
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: