Fix up a typo that accidentally got introduced.

This commit is contained in:
Mike Auty
2018-04-02 02:20:16 +01:00
parent e1fed0af20
commit 4b6b68cf2c
@@ -148,7 +148,7 @@ class HierarchicalDict(collections.abc.Mapping):
subdict = self._subdict[self._key_head(key)]
del subdict[self._key_tail(key)]
else:
del self._subdict[self._key_head(key)]
del self._data[self._key_head(key)]
except KeyError:
raise KeyError(key)