Remove the keyed message; raise KeyError if it doesn't exist.
(self, key)
| 332 | return uniq |
| 333 | |
| 334 | def remove(self, key): |
| 335 | """Remove the keyed message; raise KeyError if it doesn't exist.""" |
| 336 | os.remove(os.path.join(self._path, self._lookup(key))) |
| 337 | |
| 338 | def discard(self, key): |
| 339 | """If the keyed message exists, remove it.""" |