summaryrefslogtreecommitdiff
path: root/paramiko/hostkeys.py
diff options
context:
space:
mode:
authorDorian Pula <dorian.pula@amber-penguin-software.ca>2017-05-24 16:42:23 -0700
committerJeff Forcier <jeff@bitprophet.org>2017-05-31 17:14:40 -0700
commit28218bf90b97451d3aba9d2c9ee01d87349a8886 (patch)
tree27651281db872bbf86fdf819292f1efe3f53aaae /paramiko/hostkeys.py
parent71e204d488f53c688ded4f9631c4256cfea30c5d (diff)
downloadparamiko-28218bf90b97451d3aba9d2c9ee01d87349a8886.tar.gz
More flake8 fixes and fix tests.
Diffstat (limited to 'paramiko/hostkeys.py')
-rw-r--r--paramiko/hostkeys.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/paramiko/hostkeys.py b/paramiko/hostkeys.py
index b2a80ca1..001471ac 100644
--- a/paramiko/hostkeys.py
+++ b/paramiko/hostkeys.py
@@ -233,6 +233,9 @@ class HostKeys (MutableMapping):
raise KeyError(key)
return ret
+ def __delitem__(self, key):
+ pass # Needed for instantiating HostKeys.
+
def __setitem__(self, hostname, entry):
# don't use this please.
if len(entry) == 0: